Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.9


Expand All
Contract All

Table of Contents

wxImageList

MODULE

wxImageList

MODULE SUMMARY

See external documentation: wxImageList.

DESCRIPTION

See external documentation: wxImageList.

DATA TYPES

wxImageList()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

EXPORTS

new() -> wxImageList()

new(Width::integer(), Height::integer()) -> wxImageList()

Equivalent to new(Width, Height, []).

new(Width::integer(), Height::integer(), Options::[Option]) -> wxImageList()

Types:

Option = {mask, bool()} | {initialCount, integer()}

add(This::wxImageList(), Bitmap::wxBitmap() (see module wxBitmap)) -> integer()

add(This::wxImageList(), Bitmap::wxBitmap() (see module wxBitmap), X::term()) -> integer()

See external documentation.
Alternatives:

add(This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), Mask::wxBitmap:wxBitmap()) -> integer()

add(This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), MaskColour::wx:colour()) -> integer()

create(This::wxImageList(), Width::integer(), Height::integer()) -> bool()

create(This::wxImageList(), Width::integer(), Height::integer(), Options::[Option]) -> bool()

Types:

Option = {mask, bool()} | {initialCount, integer()}

draw(This::wxImageList(), Index::integer(), Dc::wxDC() (see module wxDC), X::integer(), Y::integer()) -> bool()

draw(This::wxImageList(), Index::integer(), Dc::wxDC() (see module wxDC), X::integer(), Y::integer(), Options::[Option]) -> bool()

Types:

Option = {flags, integer()} | {solidBackground, bool()}

getBitmap(This::wxImageList(), Index::integer()) -> wxBitmap() (see module wxBitmap)

getIcon(This::wxImageList(), Index::integer()) -> wxIcon() (see module wxIcon)

getImageCount(This::wxImageList()) -> integer()

getSize(This::wxImageList(), Index::integer()) -> {bool(), Width::integer(), Height::integer()}

remove(This::wxImageList(), Index::integer()) -> bool()

removeAll(This::wxImageList()) -> bool()

replace(This::wxImageList(), Index::integer(), Bitmap::wxBitmap() (see module wxBitmap)) -> bool()

replace(This::wxImageList(), Index::integer(), Bitmap::wxBitmap() (see module wxBitmap), Mask::wxBitmap() (see module wxBitmap)) -> bool()

destroy(This::wxImageList()) -> ok

Destroys this object, do not use object again