X11Window

Undocumented in source.

Constructors

this
this(WindowHandle handle)
Undocumented in source.
this
this(int w, int h, string t, bool override_redirect)
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
cursorPos
int[2] cursorPos()
Undocumented in source. Be warned that the author may not have intended to support it.
draggingChild
Base draggingChild()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
DrawEmpty draw()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(DrawEmpty draw)
Undocumented in source. Be warned that the author may not have intended to support it.
drawInit
void drawInit()
Undocumented in source. Be warned that the author may not have intended to support it.
gcShare
GraphicsContext gcShare()
Undocumented in source. Be warned that the author may not have intended to support it.
getScreenSize
long[2] getScreenSize()
Undocumented in source. Be warned that the author may not have intended to support it.
getTitle
string getTitle()
Undocumented in source. Be warned that the author may not have intended to support it.
gettextprop
bool gettextprop(WindowHandle w, Atom atom, string text)
Undocumented in source. Be warned that the author may not have intended to support it.
hasFocus
bool hasFocus()
Undocumented in source. Be warned that the author may not have intended to support it.
hide
void hide()
Undocumented in source. Be warned that the author may not have intended to support it.
makeCurrent
void makeCurrent(GraphicsContext c)
Undocumented in source. Be warned that the author may not have intended to support it.
move
void move(int[2] pos)
Undocumented in source. Be warned that the author may not have intended to support it.
moved
void moved(int[2] pos)
Undocumented in source. Be warned that the author may not have intended to support it.
onDestroy
void onDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
onDraw
void onDraw()
Undocumented in source. Be warned that the author may not have intended to support it.
onHide
void onHide()
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseButton
void onMouseButton(Mouse.button button, bool pressed, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
onPaste
void onPaste(string )
Undocumented in source. Be warned that the author may not have intended to support it.
onRawMouse
void onRawMouse(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
onShow
void onShow()
Undocumented in source. Be warned that the author may not have intended to support it.
processEvent
void processEvent(WindowEvent* e)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
resized
void resized(int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
setCursor
void setCursor(Mouse.cursor cursor)
Undocumented in source. Be warned that the author may not have intended to support it.
setCursorPos
void setCursorPos(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
setTitle
void setTitle(string t)
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.
swapBuffers
void swapBuffers()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

active
bool active [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
hasMouseFocus
bool hasMouseFocus [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_cursorPos
int[2] _cursorPos;
Undocumented in source.
_dragging
Base _dragging;
Undocumented in source.
_draw
DrawEmpty _draw;
Undocumented in source.
_keyboardFocus
bool _keyboardFocus;
Undocumented in source.
cursor
Mouse.cursor cursor;
Undocumented in source.
draggingUnfocus
bool draggingUnfocus;
Undocumented in source.
eventQueue
List!WindowEvent eventQueue;
Undocumented in source.
graphicsContext
GraphicsContext graphicsContext;
Undocumented in source.
inputContext
XIC inputContext;
Undocumented in source.
isActive
bool isActive;
Undocumented in source.
jumpTargetX
int jumpTargetX;
jumpTargetY
int jumpTargetY;
Undocumented in source.
mouseFocus
bool mouseFocus;
Undocumented in source.
netWmName
Atom netWmName;
Undocumented in source.
oldX
int oldX;
oldY
int oldY;
Undocumented in source.
title
string title;
Undocumented in source.
utf8
Atom utf8;
Undocumented in source.
windowAttributes
XSetWindowAttributes windowAttributes;
Undocumented in source.
windowHandle
WindowHandle windowHandle;
Undocumented in source.
wmDelete
Atom wmDelete;
Undocumented in source.

Inherited Members

From Base

style
Style style;
Undocumented in source.
cursor
Mouse.cursor cursor;
Undocumented in source.
size
int[2] size;
Undocumented in source.
pos
int[2] pos;
Undocumented in source.
parent
Base parent;
Undocumented in source.
mouseChild
Base mouseChild;
Undocumented in source.
keyboardChild
Base keyboardChild;
Undocumented in source.
hidden
bool hidden;
Undocumented in source.
children
Base[] children;
Undocumented in source.
buttons
bool[int] buttons;
Undocumented in source.
drawOutside
bool drawOutside;
Undocumented in source.
addNew
T addNew(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
add
Base add(Base gui)
Undocumented in source. Be warned that the author may not have intended to support it.
hiddenChildren
Base[] hiddenChildren()
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(Base widget)
Undocumented in source. Be warned that the author may not have intended to support it.
findChild
Base findChild(int x, int y, Base[] filter)
Undocumented in source. Be warned that the author may not have intended to support it.
draggingChild
Base draggingChild()
Undocumented in source. Be warned that the author may not have intended to support it.
drag
Base drag(int[2] offset)
Undocumented in source. Be warned that the author may not have intended to support it.
dropTarget
Base dropTarget(int x, int y, Base draggable)
Undocumented in source. Be warned that the author may not have intended to support it.
dropPreview
void dropPreview(int x, int y, Base draggable, bool start)
Undocumented in source. Be warned that the author may not have intended to support it.
drop
void drop(int x, int y, Base draggable)
Undocumented in source. Be warned that the author may not have intended to support it.
root
Base root()
Undocumented in source. Be warned that the author may not have intended to support it.
grab
Draggable grab(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
receive
void receive(Draggable what)
Undocumented in source. Be warned that the author may not have intended to support it.
receiveShadow
Base receiveShadow(Draggable what, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
setTop
void setTop(Base child)
Undocumented in source. Be warned that the author may not have intended to support it.
hasFocus
bool hasFocus()
Undocumented in source. Be warned that the author may not have intended to support it.
hasMouseFocus
bool hasMouseFocus()
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.
hide
void hide()
Undocumented in source. Be warned that the author may not have intended to support it.
cursorPos
int[2] cursorPos()
Undocumented in source. Be warned that the author may not have intended to support it.
onShow
void onShow()
Undocumented in source. Be warned that the author may not have intended to support it.
onHide
void onHide()
Undocumented in source. Be warned that the author may not have intended to support it.
onClose
void onClose()
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeRequest
void resizeRequest(Base child, int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
move
void move(int[2] pos)
Undocumented in source. Be warned that the author may not have intended to support it.
moveLocal
void moveLocal(int[2] pos)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyboard
void onKeyboard(Keyboard.key key, bool pressed)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyboard
void onKeyboard(dchar c)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyboardFocus
void onKeyboardFocus(bool focus)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseMove
void onMouseMove(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseButton
void onMouseButton(Mouse.button b, bool p, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseFocus
void onMouseFocus(bool f)
Undocumented in source. Be warned that the author may not have intended to support it.
setCursor
void setCursor(Mouse.cursor c)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
DrawEmpty draw()
Undocumented in source. Be warned that the author may not have intended to support it.
onDraw
void onDraw()
Undocumented in source. Be warned that the author may not have intended to support it.
setStyle
void setStyle(Style style)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta