ImageTextButton

button with image and text

Constructors

this
this(string ID, string drawableId, string textResourceId)
Undocumented in source.
this
this(string ID, string drawableId, dstring rawText)
Undocumented in source.
this
this(Action a)

constructor from action

Members

Functions

initialize
void initialize(string drawableId, UIString caption)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

font
FontRef font [@property getter]

returns font set for widget using style or set manually

fontFace
string fontFace [@property getter]

returns font face

fontFace
string fontFace [@property setter]

set font face for widget - override one from style

fontFamily
FontFamily fontFamily [@property getter]

returns font family

fontFamily
FontFamily fontFamily [@property setter]

set font family for widget - override one from style

fontItalic
bool fontItalic [@property getter]

returns font style (italic/normal)

fontItalic
bool fontItalic [@property setter]

set font style (italic/normal) for widget - override one from style

fontSize
int fontSize [@property getter]

returns font size in pixels

fontSize
int fontSize [@property setter]

Set label font size

fontWeight
ushort fontWeight [@property getter]

returns font weight

fontWeight
int fontWeight [@property setter]

set font weight for widget - override one from style

orientation
Orientation orientation [@property getter]

Returns orientation: Vertical - image top, Horizontal - image left"

orientation
Orientation orientation [@property setter]

Sets orientation: Vertical - image top, Horizontal - image left"

text
dstring text [@property getter]

Get label text

text
dstring text [@property setter]

Set label plain unicode string

text
UIString text [@property setter]

Set label string resource Id

textColor
uint textColor [@property getter]

get text color (ARGB 32 bit value)

textColor
string textColor [@property setter]

set text color for widget - from string like "#5599CC" or "white"

textColor
uint textColor [@property setter]

set text color (ARGB 32 bit value)

textFlags
uint textFlags [@property getter]

get text flags (bit set of TextFlag enum values)

textFlags
uint textFlags [@property setter]

set text flags (bit set of TextFlag enum values)

Variables

_icon
ImageWidget _icon;
Undocumented in source.
_label
TextWidget _label;
Undocumented in source.

Meta