DOKK / manpages / debian 11 / erlang-manpages / wxImageList.3erl.en
wxImageList(3erl) Erlang Module Definition wxImageList(3erl)

wxImageList - See external documentation: wxImageList.

See external documentation: 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.

new() -> wxImageList()

See external documentation.

new(Width, Height) -> wxImageList()

Types:

Width = integer()
Height = integer()

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

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

Types:

Width = integer()
Height = integer()
Option = {mask, boolean()} | {initialCount, integer()}

See external documentation.

add(This, Bitmap) -> integer()

Types:

This = wxImageList()
Bitmap = wxBitmap:wxBitmap()

See external documentation.

add(This, Bitmap, Mask) -> integer()
add(This, Bitmap, MaskColour) -> integer()

Types:

This = wxImageList()
Bitmap = wxBitmap:wxBitmap()
Mask = wxBitmap:wxBitmap()
This = wxImageList()
Bitmap = wxBitmap:wxBitmap()
MaskColour = wx:wx_colour()

See external documentation.
Also:
add(This, Bitmap, MaskColour) -> integer() when
This::wxImageList(), Bitmap::wxBitmap:wxBitmap(), MaskColour::wx:wx_colour().

create(This, Width, Height) -> boolean()

Types:

This = wxImageList()
Width = integer()
Height = integer()

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

create(This, Width, Height, Options::[Option]) -> boolean()

Types:

This = wxImageList()
Width = integer()
Height = integer()
Option = {mask, boolean()} | {initialCount, integer()}

See external documentation.

draw(This, Index, Dc, X, Y) -> boolean()

Types:

This = wxImageList()
Index = integer()
Dc = wxDC:wxDC()
X = integer()
Y = integer()

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

draw(This, Index, Dc, X, Y, Options::[Option]) -> boolean()

Types:

This = wxImageList()
Index = integer()
Dc = wxDC:wxDC()
X = integer()
Y = integer()
Option = {flags, integer()} | {solidBackground, boolean()}

See external documentation.

getBitmap(This, Index) -> wxBitmap:wxBitmap()

Types:

This = wxImageList()
Index = integer()

See external documentation.

getIcon(This, Index) -> wxIcon:wxIcon()

Types:

This = wxImageList()
Index = integer()

See external documentation.

getImageCount(This) -> integer()

Types:

This = wxImageList()

See external documentation.

getSize(This, Index) -> Result

Types:

Result = {Res::boolean(), Width::integer(), Height::integer()}
This = wxImageList()
Index = integer()

See external documentation.

remove(This, Index) -> boolean()

Types:

This = wxImageList()
Index = integer()

See external documentation.

removeAll(This) -> boolean()

Types:

This = wxImageList()

See external documentation.

replace(This, Index, Bitmap) -> boolean()

Types:

This = wxImageList()
Index = integer()
Bitmap = wxBitmap:wxBitmap()

See external documentation.

replace(This, Index, Bitmap, Mask) -> boolean()

Types:

This = wxImageList()
Index = integer()
Bitmap = wxBitmap:wxBitmap()
Mask = wxBitmap:wxBitmap()

See external documentation.

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

Destroys this object, do not use object again

<>

wx 1.9.2