Widget

Container for common properties

Constructors

this
this()
Undocumented in source.

Members

Functions

addEventHandler
void addEventHandler(T handler)
Undocumented in source. Be warned that the author may not have intended to support it.
handleDraw
bool handleDraw(Widget widget, DrawEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
handleEvent
bool handleEvent(Event e)

Returns true if event was handled This handler will be called by Gui class twice, before and after visiting its children. In first case sinking flag will be true;

handleExpand
bool handleExpand(Widget widget, ExpandLayoutEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMinimize
bool handleMinimize(Widget widget, MinimizeLayoutEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
handleUpdatePosition
bool handleUpdatePosition(Widget widget, UpdatePositionEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
removeEventHandlers
void removeEventHandlers()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_eventHandlers
bool delegate(Widget, Event)[][TypeInfo] _eventHandlers;

Event handlers.

anchor
ValueProperty anchor;
Undocumented in source.
children
ValueProperty children;
Undocumented in source.
context
ValueProperty context;
Undocumented in source.
geometry
ValueProperty geometry;
Undocumented in source.
hasBack
ValueProperty hasBack;
Undocumented in source.
isEnabled
ValueProperty isEnabled;
Undocumented in source.
isFocusable
ValueProperty isFocusable;
Undocumented in source.
isHovered
ValueProperty isHovered;
Undocumented in source.
isVisible
ValueProperty isVisible;
Undocumented in source.
logicalChildren
ValueProperty logicalChildren;
Undocumented in source.
minSize
ValueProperty minSize;
Undocumented in source.
parent
ValueProperty parent;
Undocumented in source.
position
ValueProperty position;
Undocumented in source.
prefferedSize
ValueProperty prefferedSize;
Undocumented in source.
respondsToPointer
ValueProperty respondsToPointer;
Undocumented in source.
size
ValueProperty size;
Undocumented in source.
state
ValueProperty state;
Undocumented in source.
staticPosition
ValueProperty staticPosition;
Undocumented in source.
staticRect
ValueProperty staticRect;
Undocumented in source.
style
ValueProperty style;
Undocumented in source.

Meta