The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

IWL::Stock - stock item support

DESCRIPTION

The stock object provides an easy reference to stock images and labels for widgets

CONSTRUCTOR

IWL::Stock->new

METHODS

getSmallImage (STOCK_ID)

Returns the url of the small image of the stock

Parameters: STOCK_ID - the stock id

getLabel (STOCK_ID)

Returns the label of the stock

Parameters: STOCK_ID - the stock id

exists (STOCK_ID)

Returns true if a stock with the given ID exists

Parameters: STOCK_ID - the stock id

add (STOCK_KEY => STOCK_ITEM, ...)

Adds the given stock items to the list of existing items

Parameters: STOCK_KEY - the stock key of the item, STOCK_ITEM - A stock item to add to the stock repository. It is a hash reference with the following keys:

smallImage

The URL of the small image, usually with a size of 16x16

label

The label for this stock item

LICENCE AND COPYRIGHT

Copyright (c) 2006-2008 Viktor Kojouharov. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 239:

You forgot a '=back' before '=head1'