- create
bool create()
Undocumented in source. Be warned that the author may not have intended to support it.
- createImage
void createImage()
Undocumented in source. Be warned that the author may not have intended to support it.
- draw
void draw(ColorDrawBuf buf)
Undocumented in source. Be warned that the author may not have intended to support it.
- invalidate
void invalidate()
- processExpose
void processExpose(xcb_expose_event_t* event)
Undocumented in source. Be warned that the author may not have intended to support it.
- processMouseEvent
void processMouseEvent(MouseAction action, ubyte detail, ushort state, short x, short y)
Undocumented in source. Be warned that the author may not have intended to support it.
- redraw
void redraw()
Undocumented in source. Be warned that the author may not have intended to support it.
- show
void show()
Undocumented in source. Be warned that the author may not have intended to support it.
- _dx
int _dx;
Undocumented in source.
- _dy
int _dy;
Undocumented in source.
- _backgroundColor
uint _backgroundColor;
Undocumented in source.
- _mainWidget
Widget _mainWidget;
Undocumented in source.
- backgroundColor
uint backgroundColor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- backgroundColor
uint backgroundColor [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- width
int width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- height
int height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- mainWidget
Widget mainWidget [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- mainWidget
Widget mainWidget [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- show
void show()
Undocumented in source.
- windowCaption
string windowCaption [@property getter]
Undocumented in source.
- windowCaption
string windowCaption [@property setter]
Undocumented in source.
- measure
void measure()
Undocumented in source. Be warned that the author may not have intended to support it.
- layout
void layout()
Undocumented in source. Be warned that the author may not have intended to support it.
- onResize
void onResize(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
- _popups
PopupWidget[] _popups;
Undocumented in source.
- showPopup
PopupWidget showPopup(Widget content, Widget anchor, uint alignment)
- removePopup
bool removePopup(PopupWidget popup)
- isChild
bool isChild(Widget w)
returns true if widget is child of either main widget or one of popups
- ~this
~this()
Undocumented in source.
- onDraw
void onDraw(DrawBuf buf)
Undocumented in source. Be warned that the author may not have intended to support it.
- scheduleAnimation
void scheduleAnimation()
after drawing, call to schedule redraw if animation is active
- setCaptureWidget
void setCaptureWidget(Widget w, MouseEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- _focusedWidget
Widget _focusedWidget;
Undocumented in source.
- focusedWidget
Widget focusedWidget [@property getter]
returns current focused widget
- setFocus
Widget setFocus(Widget newFocus)
- dispatchKeyEvent
bool dispatchKeyEvent(Widget root, KeyEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- dispatchKeyEvent
bool dispatchKeyEvent(KeyEvent event)
- dispatchMouseEvent
bool dispatchMouseEvent(Widget root, MouseEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- _mouseTrackingWidgets
Widget[] _mouseTrackingWidgets;
widget which tracks Move events
- _mouseCaptureWidget
Widget _mouseCaptureWidget;
widget which tracks all events after processed ButtonDown
- _mouseCaptureButtons
ushort _mouseCaptureButtons;
Undocumented in source.
- _mouseCaptureFocusedOut
bool _mouseCaptureFocusedOut;
Undocumented in source.
- _mouseCaptureFocusedOutTrackMovements
bool _mouseCaptureFocusedOutTrackMovements;
does current capture widget want to receive move events even if pointer left it
- dispatchCancel
bool dispatchCancel(MouseEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendAndCheckOverride
bool sendAndCheckOverride(Widget widget, MouseEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- dispatchMouseEvent
bool dispatchMouseEvent(MouseEvent event)
dispatch mouse event to window content widgets
- checkUpdateNeeded
void checkUpdateNeeded(Widget root, bool needDraw, bool needLayout, bool animationActive)
checks content widgets for necessary redraw and/or layout
- checkUpdateNeeded
bool checkUpdateNeeded(bool needDraw, bool needLayout, bool animationActive)
checks content widgets for necessary redraw and/or layout
- update
void update(bool force)
requests update for window (unless force is true, update will be performed only if layout, redraw or animation is required).
- invalidate
void invalidate()