User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.5

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()

See external documentation.

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()}

See external documentation.

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

See external documentation.

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()

Equivalent to create(This, Width, Height, []).

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

Types:

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

See external documentation.

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

Equivalent to draw(This, Index, Dc, X, Y, []).

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

Types:

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

See external documentation.

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

See external documentation.

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

See external documentation.

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

See external documentation.

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

See external documentation.

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

See external documentation.

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

See external documentation.

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

See external documentation.

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

See external documentation.

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

Destroys this object, do not use object again