Class Widget

Base class for all widgets

class Widget

Fields

TypeNameDescription
bool
allowsFocus True if the widget can be focused
bool
allowsHover True if the widget will change hovered state while mouse pointer is moving upon it
attributes
bool
enabled True if the widget should be interactive and catch mouse and key events
bool
focusGroup Focus group flag for container widget.
string
id
bool
inheritState
bool
isolateStyle Isolate inheritance of style properties for the widget sub-tree (including this widget)
key
string
namespace
void delegate(string)
onAnimationEnd
void delegate(string)
onAnimationStart
bool delegate(KeyEvent)
onKeyEvent
bool delegate(MouseEvent)
onMouseEvent
bool delegate(WheelEvent)
onWheelEvent
ushort
tabOrder Tab order - hint for focus movement using Tab/Shift+Tab
dstring
tooltip
bool
visible

Methods

NameDescription
elementRef ()
opApply (callback)
style (st)
build ()
createElement ()
createState ()
mountChild (child, index, append) May return null
parent ()
updateElement (el)
use ()
window ()

Static methods

NameDescription
arena ()