Back to the Packages
Constructor
new Win32::GUI::ImageList(X, Y, FLAGS, INITAL, GROW)
Methods
Add(BITMAP, [BITMAPMASK])
AddBitmap(BITMAP, [BITMAPMASK])
BackColor([COLOR])
Clear()
Count()
Remove(INDEX)
Replace(INDEX, BITMAP, [BITMAPMASK])
Size([X, Y])
Creates an ImageList object; X and Y specify the size of the images, FLAGS [TBD]. INITIAL and GROW specify the number of images the ImageList actually contains (INITIAL) and the number of images for which memory is allocated (GROW).
Adds a bitmap to the ImageList; both BITMAP and BITMAPMASK can be either Win32::GUI::Bitmap objects or filenames.
AddBitmap(BITMAP, [BITMAPMASK]) Adds a Win32::GUI::Bitmap object to the ImageList. BITMAPMASK is optional. See also Add(). BackColor([COLOR]) Gets or sets the background color for the ImageList. Clear() Removes all the images from the ImageList. Count() Returns the number of images in the ImageList. Remove(INDEX) Removes the specified zero-based INDEX image from the ImageList. Replace(INDEX, BITMAP, [BITMAPMASK]) Replaces the specified zero-based INDEX image with the image specified by BITMAP (must be a Win32::GUI::Bitmap object). BITMAPMASK is optional. Size([X, Y]) Gets or sets the size of the images in the ImageList; if no parameter is given, returns a 2 element array (X, Y), otherwise sets the size to the given parameters.
Adds a Win32::GUI::Bitmap object to the ImageList. BITMAPMASK is optional. See also Add().
BackColor([COLOR]) Gets or sets the background color for the ImageList. Clear() Removes all the images from the ImageList. Count() Returns the number of images in the ImageList. Remove(INDEX) Removes the specified zero-based INDEX image from the ImageList. Replace(INDEX, BITMAP, [BITMAPMASK]) Replaces the specified zero-based INDEX image with the image specified by BITMAP (must be a Win32::GUI::Bitmap object). BITMAPMASK is optional. Size([X, Y]) Gets or sets the size of the images in the ImageList; if no parameter is given, returns a 2 element array (X, Y), otherwise sets the size to the given parameters.
Gets or sets the background color for the ImageList.
Clear() Removes all the images from the ImageList. Count() Returns the number of images in the ImageList. Remove(INDEX) Removes the specified zero-based INDEX image from the ImageList. Replace(INDEX, BITMAP, [BITMAPMASK]) Replaces the specified zero-based INDEX image with the image specified by BITMAP (must be a Win32::GUI::Bitmap object). BITMAPMASK is optional. Size([X, Y]) Gets or sets the size of the images in the ImageList; if no parameter is given, returns a 2 element array (X, Y), otherwise sets the size to the given parameters.
Removes all the images from the ImageList.
Count() Returns the number of images in the ImageList. Remove(INDEX) Removes the specified zero-based INDEX image from the ImageList. Replace(INDEX, BITMAP, [BITMAPMASK]) Replaces the specified zero-based INDEX image with the image specified by BITMAP (must be a Win32::GUI::Bitmap object). BITMAPMASK is optional. Size([X, Y]) Gets or sets the size of the images in the ImageList; if no parameter is given, returns a 2 element array (X, Y), otherwise sets the size to the given parameters.
Returns the number of images in the ImageList.
Remove(INDEX) Removes the specified zero-based INDEX image from the ImageList. Replace(INDEX, BITMAP, [BITMAPMASK]) Replaces the specified zero-based INDEX image with the image specified by BITMAP (must be a Win32::GUI::Bitmap object). BITMAPMASK is optional. Size([X, Y]) Gets or sets the size of the images in the ImageList; if no parameter is given, returns a 2 element array (X, Y), otherwise sets the size to the given parameters.
Removes the specified zero-based INDEX image from the ImageList.
Replace(INDEX, BITMAP, [BITMAPMASK]) Replaces the specified zero-based INDEX image with the image specified by BITMAP (must be a Win32::GUI::Bitmap object). BITMAPMASK is optional. Size([X, Y]) Gets or sets the size of the images in the ImageList; if no parameter is given, returns a 2 element array (X, Y), otherwise sets the size to the given parameters.
Replaces the specified zero-based INDEX image with the image specified by BITMAP (must be a Win32::GUI::Bitmap object). BITMAPMASK is optional.
Size([X, Y]) Gets or sets the size of the images in the ImageList; if no parameter is given, returns a 2 element array (X, Y), otherwise sets the size to the given parameters.
Gets or sets the size of the images in the ImageList; if no parameter is given, returns a 2 element array (X, Y), otherwise sets the size to the given parameters.
2 POD Errors
The following errors were encountered while parsing the POD:
You can't have =items (as at line 67) unless the first thing after the =over is an =item
You can't have =items (as at line 84) unless the first thing after the =over is an =item
To install Win32::GUI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::GUI
CPAN shell
perl -MCPAN -e shell install Win32::GUI
For more information on module installation, please visit the detailed CPAN module installation guide.