ae.net.x11

X11 protocol. Work in progress.

Public Imports

deimos.X11.X
public import deimos.X11.X;
Undocumented in source.
deimos.X11.Xmd
public import deimos.X11.Xmd;
Undocumented in source.
deimos.X11.Xprotostr
public import deimos.X11.Xprotostr;
Undocumented in source.

Members

Aliases

Atom
alias Atom = CARD32
Undocumented in source.
Colormap
alias Colormap = CARD32
Undocumented in source.
Cursor
alias Cursor = CARD32
Undocumented in source.
Drawable
alias Drawable = CARD32
Undocumented in source.
Font
alias Font = CARD32
Undocumented in source.
GContext
alias GContext = CARD32
Undocumented in source.
KeyCode
alias KeyCode = CARD8
Undocumented in source.
KeySym
alias KeySym = CARD32
Undocumented in source.
Pixmap
alias Pixmap = CARD32
Undocumented in source.
Time
alias Time = CARD32
Undocumented in source.
VisualID
alias VisualID = CARD32
Undocumented in source.
Window
alias Window = CARD32

These are always 32-bit in the protocol, but are defined as possibly 64-bit in X.h. Redefine these in terms of the protocol we implement here.

Classes

X11Client
class X11Client

Implements the X11 protocol as a client. Allows connecting to a local or remote X11 server.

X11Extension
class X11Extension

Base class for X11 extensions.

XEXAMPLE
class XEXAMPLE

Example extension:

Structs

GCAttributes
struct GCAttributes

Used for CreateGC, ChangeGC and CopyGC.

WindowAttributes
struct WindowAttributes

Used for CreateWindow and ChangeWindowAttributes.

WindowConfiguration
struct WindowConfiguration

Used for ConfigureWindow.

xEmptyReq
struct xEmptyReq

xReq equivalent for requests with no arguments.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>