wxErlang

Reference Manual

Version 1.8.1

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

add(This, Bitmap) -> integer()

Types

This = wxImageList()

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

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

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

Types

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

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

Types

This = wxImageList()
Index = integer()
X = integer()
Y = integer()

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

Types

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

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

Types

This = wxImageList()
Index = integer()

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

Types

This = wxImageList()
Index = integer()

getImageCount(This) -> integer()

Types

This = wxImageList()

getSize(This, Index) -> Result

Types

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

remove(This, Index) -> boolean()

Types

This = wxImageList()
Index = integer()

removeAll(This) -> boolean()

Types

This = wxImageList()

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

Types

This = wxImageList()
Index = integer()

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

Types

This = wxImageList()
Index = integer()

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

Destroys this object, do not use object again