x11

package
v0.0.0-...-f3d8a94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

This package implements an X11 backend for the exp/draw package.

The X protocol specification is at ftp://ftp.x.org/pub/X11R7.0/doc/PDF/proto.pdf. A summary of the wire format can be found in XCB's xproto.xml.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWindow

func NewWindow() (draw.Window, error)

NewWindow calls NewWindowDisplay with $DISPLAY.

func NewWindowDisplay

func NewWindowDisplay(display string) (draw.Window, error)

NewWindowDisplay returns a new draw.Context, backed by a newly created and mapped X11 window. The X server to connect to is specified by the display string, such as ":1".

Types

This section is empty.

Notes

Bugs

  • This is a toy library and not ready for production use.

  • Keycode to keysym mapping is not implemented.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL