x11

package
v0.0.0-...-c631f81 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: BSD-3-Clause, GooglePatentClause Imports: 12 Imported by: 0

Documentation

Overview

Package x11 implements an X11 backend for the ui 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() (ui.Window, error)

NewWindow calls NewWindowDisplay with $DISPLAY.

func NewWindowDisplay

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

NewWindowDisplay returns a new ui.Window, 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.

Jump to

Keyboard shortcuts

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