NAME
Tk::XPMs - xpm images for icons
SYNOPSIS
use Tk;
use Tk::XPMs qw(:all);
my $top = MainWindow->new;
my $xpm = $top->Pixmap(-data => openfolder_xpm);
my $b1 = $top->Button(
-image => $xpm,
-command => sub{ print "openfolder_xpm\n"; },
);
DESCRIPTION
This module provides some xpm images for icons. Each image is implemented as a function which returns the xpm data as a string.
The following image methods are defined:
tools_1_xpm()
Returns a tool box icon.
tools_xpm()
Returns a tool box icon.
Tk_xpm()
Returns a 32 x 32 Tk symbol.
diskette_xpm()
Returns a 14 x 15 floppy disc symbol.
diskette2_xpm()
Returns another 14 x 15 floppy disc symbol.
folder_xpm()
Returns a 16 x 12 symbol for a folder.
red_folder_xpm()
Returns a 17 x 15 symbol for a folder. The color of the folder symbol is red.
openfolder_xpm()
Returns a 17 x 15 open folder symbol.
textfile_xpm()
Returns a 12 x 12 symbol for a windows text file.
srcfile_xpm()
Returns a symbol for a source file.
file_xpm()
Returns a symbol for a file.
winfolder_xpm()
Returns a symbol for a windows folder.
winact_folder_xpm()
Returns a symbol for a windows open folder.
act_folder_xpm()
Returns a symbol for an open windows folder.
wintext_xpm()
Returns a symbol for a text file.
ColorEditor_xpm()
Returns a symbol for a color editor.
Camel_xpm()
Returns a camel icon.
arrow_up_xpm()
Returns a symbol for an up-arrow.
arrow_down_xpm()
Returns a symbol for a down-arrow.
arrow_left_blue_xpm()
Returns a symbol for a blue left arrow.
arrow_right_blue_xpm()
Returns a symbol for a blue right arrow.
arrow_first_xpm()
Returns a symbol for a |< arrow.
arrow_prev_xpm()
Returns a symbol for a < arrow.
arrow_ppage_xpm()
Returns a symbol for a << arrow.
arrow_next_xpm()
Returns a symbol for a > arrow.
arrow_npage_xpm()
Returns a symbol for a >> arrow.
arrow_last_xpm()
Returns a symbol for a >| arrow.
mail_xpm()
Returns a symbol for an envelope.
cross_xpm()
Returns a symbol for a red x-shaped cross.
info_xpm()
Returns a symbol for a info symbol.
arrow_zomm_in_xpm()
Returns a symbol for a zoom-in lense.
arrow_zomm_out_xpm()
Returns a symbol for a zoom-out lense.
cut_disabled_xpm()
Returns a symbol for a cut symbol (disabled).
cut_normal_xpm()
Returns a symbol for a cut symbol (normal).
paste_disabled_xpm()
Returns a symbol for a paste symbol (disabled).
paste_normal_xpm()
Returns a symbol for a paste symbol (normal).
search_xpm()
Returns a symbol for a big lense.
filter_xpm()
Returns a symbol for eyeglasses.
filter_switch_xpm()
Returns a symbol for crossed out eyeglasses.
thumbs_xpm()
Returns a symbol for "Thumbnail" Dialog.
dias_xpm()
Returns a symbol for "Diashow" Dialog.
rotate_left_xpm()
Returns a symbol for a "rotate left" arrow
rotate_right_xpm()
Returns a symbol for a "rotate right" arrow
exit_xpm()
Returns a symbol for an "Exit" button.
stop_xpm()
Returns a symbol for a "Stop" button.
eye_xpm()
Returns a symbol for an "Eye" button.
noeye_xpm()
Returns a symbol for an "Crossed out Eye" button.
lock_xpm()
Returns a symbol for a "Lock" button.
money_xpm()
Returns a 32 x 32 symbol for money.
box_nonsel_xpm()
Returns a symbol for a not selected checkbox
box_yellow_xpm()
Returns a symbol for a not selected yellow checkbox
box_sel_xpm()
Returns a symbol for a selected checkbox
EXPORT
None by default. There are export tags :all and :arrows which can be used to import all methods or only the arrow methods.
AUTHOR
Lorenz Domke, <lorenz.domke@gmx.de>
COPYRIGHT AND LICENSE
Copyright 2005 by Lorenz Domke
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.