Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.6.1


Expand All
Contract All

Table of Contents

wxBitmapButton

MODULE

wxBitmapButton

MODULE SUMMARY

See external documentation: wxBitmapButton.

DESCRIPTION

See external documentation: wxBitmapButton.

This class is derived (and can use functions) from:
wxButton
wxControl
wxWindow
wxEvtHandler

DATA TYPES

wxBitmapButton()

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

new(Parent, Id, Bitmap) -> wxBitmapButton()

Types:

Parent = wxWindow() (see module wxWindow)
Id = integer()
Bitmap = wxBitmap() (see module wxBitmap)

new(Parent, Id, Bitmap, Options::[Option]) -> wxBitmapButton()

Types:

Parent = wxWindow() (see module wxWindow)
Id = integer()
Bitmap = wxBitmap() (see module wxBitmap)
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}

create(This, Parent, Id, Bitmap) -> boolean()

Types:

This = wxBitmapButton()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Bitmap = wxBitmap() (see module wxBitmap)

create(This, Parent, Id, Bitmap, Options::[Option]) -> boolean()

Types:

This = wxBitmapButton()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Bitmap = wxBitmap() (see module wxBitmap)
Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {validator, wx_object() (see module wx)}

getBitmapDisabled(This) -> wxBitmap() (see module wxBitmap)

Types:

This = wxBitmapButton()

getBitmapFocus(This) -> wxBitmap() (see module wxBitmap)

Types:

This = wxBitmapButton()

getBitmapLabel(This) -> wxBitmap() (see module wxBitmap)

Types:

This = wxBitmapButton()

getBitmapSelected(This) -> wxBitmap() (see module wxBitmap)

Types:

This = wxBitmapButton()

setBitmapDisabled(This, Disabled) -> ok

Types:

This = wxBitmapButton()
Disabled = wxBitmap() (see module wxBitmap)

setBitmapFocus(This, Focus) -> ok

Types:

This = wxBitmapButton()
Focus = wxBitmap() (see module wxBitmap)

setBitmapLabel(This, Bitmap) -> ok

Types:

This = wxBitmapButton()
Bitmap = wxBitmap() (see module wxBitmap)

setBitmapSelected(This, Sel) -> ok

Types:

This = wxBitmapButton()
Sel = wxBitmap() (see module wxBitmap)

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

Destroys this object, do not use object again