XCBWindow

Undocumented in source.

Constructors

this
this(string caption, Window parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

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()

request window redraw

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.

Properties

windowCaption
string windowCaption [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
windowCaption
string windowCaption [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
windowId
xcb_window_t windowId [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_caption
string _caption;
Undocumented in source.
_derelictgl3Reloaded
bool _derelictgl3Reloaded;
Undocumented in source.
_drawable
GLXDrawable _drawable;
Undocumented in source.
_drawbuf
ColorDrawBuf _drawbuf;
Undocumented in source.
_exposeSent
bool _exposeSent;
Undocumented in source.
_g
xcb_gcontext_t _g;
Undocumented in source.
_glxwindow
GLXWindow _glxwindow;
Undocumented in source.
_image
xcb_image_t* _image;
Undocumented in source.
_lbutton
ButtonDetails _lbutton;
Undocumented in source.
_mbutton
ButtonDetails _mbutton;
Undocumented in source.
_rbutton
ButtonDetails _rbutton;
Undocumented in source.
_w
xcb_window_t _w;
Undocumented in source.
shminfo
xcb_shm_segment_info_t shminfo;
Undocumented in source.

Inherited Members

From Window

_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)

show new popup

removePopup
bool removePopup(PopupWidget popup)

remove 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)

change focus to widget

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)

dispatch keyboard 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()

request window redraw

Meta