ImageButton

button with image only

Constructors

this
this(string ID, string drawableId)

constructor by id and icon resource id

this
this(Action a)

constructor from action

Inherited Members

From ImageWidget

_drawableId
string _drawableId;
Undocumented in source.
_drawable
DrawableRef _drawable;
Undocumented in source.
~this
~this()
Undocumented in source.
drawableId
string drawableId [@property getter]

get drawable image id

drawableId
string drawableId [@property setter]

set drawable image id

drawable
DrawableRef drawable [@property getter]

get drawable

drawable
DrawableRef drawable [@property setter]

set custom drawable (not one from resources)

drawable
string drawable [@property setter]

set custom drawable (not one from resources)

onThemeChanged
void onThemeChanged()

handle theme change: e.g. reload some themed resources

measure
void measure(int parentWidth, int parentHeight)
Undocumented in source. Be warned that the author may not have intended to support it.
onDraw
void onDraw(DrawBuf buf)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta