wxImageList

See external documentation: wxImageList.

See external documentation: wxImageList.

Types


wxImageList() = wx:wx_object()

Functions


new() -> wxImageList()

See external documentation.

new(Width, Height) -> wxImageList()

  • Width = integer()
  • Height = integer()

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

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

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

See external documentation.

add(This, Bitmap) -> integer()

  • This = wxImageList()
  • Bitmap = wxBitmap() (see module wxBitmap)

See external documentation.

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

  • This = wxImageList()
  • Bitmap = wxBitmap() (see module wxBitmap)
  • Mask = wxBitmap() (see module wxBitmap)

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

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

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

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

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

See external documentation.

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

  • This = wxImageList()
  • Index = integer()
  • Dc = wxDC() (see module wxDC)
  • X = integer()
  • Y = integer()

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

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

See external documentation.

getBitmap(This, Index) -> wxBitmap() (see module wxBitmap)

  • This = wxImageList()
  • Index = integer()

See external documentation.

getIcon(This, Index) -> wxIcon() (see module wxIcon)

  • This = wxImageList()
  • Index = integer()

See external documentation.

getImageCount(This) -> integer()

  • This = wxImageList()

See external documentation.

getSize(This, Index) -> Result

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

See external documentation.

remove(This, Index) -> boolean()

  • This = wxImageList()
  • Index = integer()

See external documentation.

removeAll(This) -> boolean()

  • This = wxImageList()

See external documentation.

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

  • This = wxImageList()
  • Index = integer()
  • Bitmap = wxBitmap() (see module wxBitmap)

See external documentation.

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

  • This = wxImageList()
  • Index = integer()
  • Bitmap = wxBitmap() (see module wxBitmap)
  • Mask = wxBitmap() (see module wxBitmap)

See external documentation.

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

Destroys this object, do not use object again