wxImageList.3erl

Langue: en

Autres versions - même langue

Version: 297235 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

wxImageList - See external documentation: wxImageList.

DESCRIPTION

See external documentation: wxImageList <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html>.

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 <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistwximagelist>.

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 <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistwximagelist>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistadd>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistadd>.

 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 <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistcreate>.

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 <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistdraw>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistgetbitmap>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistgeticon>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistgetimagecount>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistgetsize>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistremove>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistremoveall>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistreplace>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wximagelist.html#wximagelistreplace>.

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


Destroys this object, do not use object again