Documentation ¶
Index ¶
- Variables
- func ReadAuthority(hostname, display string) (string, []byte, error)
- type ErrorUnmarshaler
- type EventUnmarshaler
- type IgnoreXReply
- type RawXReply
- type XConn
- func (conn *XConn) Close() error
- func (conn *XConn) Ext(name string) (op uint8, ok bool)
- func (conn *XConn) NewXID() uint32
- func (conn *XConn) Recv() (XEvent, error)
- func (conn *XConn) Register(ext XExtension) error
- func (conn *XConn) Send(data []byte) error
- func (conn *XConn) SendRecv(data []byte, dst XReply) error
- func (conn *XConn) Sync() error
- type XDialer
- type XError
- type XEvent
- type XExtension
- type XReply
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDialer = XDialer{
InboundBuffer: 1000,
}
DefaultDialer is the default XDialer instance.
Functions ¶
Types ¶
type ErrorUnmarshaler ¶ added in v1.1.0
type EventUnmarshaler ¶ added in v1.1.0
type IgnoreXReply ¶ added in v1.1.0
type IgnoreXReply struct{}
ignoreXReply is a noop XReply implementation.
func (IgnoreXReply) Unmarshal ¶ added in v1.1.0
func (IgnoreXReply) Unmarshal([]byte) error
type RawXReply ¶ added in v1.1.0
type RawXReply []byte
RawXReply is a byte slice type alias that fulfills the XReply interface type, allowing you to store an X reply for later decoding.
type XConn ¶ added in v1.1.0
type XConn struct {
// contains filtered or unexported fields
}
XConn represents a connection to an X server, handling asychronous background receipt and unmarshaling of incoming data for use as the more accessible XError and XEvent types.
func (*XConn) Register ¶ added in v1.1.0
func (conn *XConn) Register(ext XExtension) error
Register querying the X server for support of this extension, and register relevant event / error unmarshalers internally within XConn.
type XDialer ¶ added in v1.1.0
type XDialer struct { // InboundBuffer allows specifying how // many inbound X messages to buffer // before the connection will block. InboundBuffer int // NetDialer allows specifying the // underlying net.Dialer to use. NetDialer *net.Dialer }
XDialer provides a dialer for connection to an X server.
func (*XDialer) Dial ¶ added in v1.1.0
Dial calls XDialer{}.DialContext() using background context (non-blocking).
type XEvent ¶ added in v1.1.0
type XEvent interface { // SeqID returns the X sequence ID // this event is associated with. SeqID() uint16 }
type XExtension ¶ added in v1.1.0
type XExtension struct { XName string MajorOpcode uint8 EventFuncs map[uint8]EventUnmarshaler ErrorFuncs map[uint8]ErrorUnmarshaler }
Directories ¶
Path | Synopsis |
---|---|
FILE GENERATED AUTOMATICALLY FROM "bigreq.xml"
|
FILE GENERATED AUTOMATICALLY FROM "bigreq.xml" |
cmd
|
|
FILE GENERATED AUTOMATICALLY FROM "composite.xml"
|
FILE GENERATED AUTOMATICALLY FROM "composite.xml" |
FILE GENERATED AUTOMATICALLY FROM "damage.xml"
|
FILE GENERATED AUTOMATICALLY FROM "damage.xml" |
FILE GENERATED AUTOMATICALLY FROM "dpms.xml"
|
FILE GENERATED AUTOMATICALLY FROM "dpms.xml" |
FILE GENERATED AUTOMATICALLY FROM "dri2.xml"
|
FILE GENERATED AUTOMATICALLY FROM "dri2.xml" |
FILE GENERATED AUTOMATICALLY FROM "ge.xml"
|
FILE GENERATED AUTOMATICALLY FROM "ge.xml" |
pkg
|
|
icccm
Package icccm provides an API for a portion of the ICCCM, namely, getters and setters for many of the properties specified in the ICCCM.
|
Package icccm provides an API for a portion of the ICCCM, namely, getters and setters for many of the properties specified in the ICCCM. |
xcursor
Package xcursor provides a small interface for using cursors that are predefined in the X 'cursor' font.
|
Package xcursor provides a small interface for using cursors that are predefined in the X 'cursor' font. |
xprop
Package xprop provides a cache for interning atoms and helper functions for dealing with GetProperty and ChangeProperty X requests.
|
Package xprop provides a cache for interning atoms and helper functions for dealing with GetProperty and ChangeProperty X requests. |
FILE GENERATED AUTOMATICALLY FROM "randr.xml"
|
FILE GENERATED AUTOMATICALLY FROM "randr.xml" |
FILE GENERATED AUTOMATICALLY FROM "record.xml"
|
FILE GENERATED AUTOMATICALLY FROM "record.xml" |
FILE GENERATED AUTOMATICALLY FROM "render.xml"
|
FILE GENERATED AUTOMATICALLY FROM "render.xml" |
FILE GENERATED AUTOMATICALLY FROM "res.xml"
|
FILE GENERATED AUTOMATICALLY FROM "res.xml" |
FILE GENERATED AUTOMATICALLY FROM "screensaver.xml"
|
FILE GENERATED AUTOMATICALLY FROM "screensaver.xml" |
FILE GENERATED AUTOMATICALLY FROM "shape.xml"
|
FILE GENERATED AUTOMATICALLY FROM "shape.xml" |
FILE GENERATED AUTOMATICALLY FROM "shm.xml"
|
FILE GENERATED AUTOMATICALLY FROM "shm.xml" |
FILE GENERATED AUTOMATICALLY FROM "xc_misc.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xc_misc.xml" |
FILE GENERATED AUTOMATICALLY FROM "xevie.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xevie.xml" |
FILE GENERATED AUTOMATICALLY FROM "xf86dri.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xf86dri.xml" |
FILE GENERATED AUTOMATICALLY FROM "xf86vidmode.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xf86vidmode.xml" |
FILE GENERATED AUTOMATICALLY FROM "xfixes.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xfixes.xml" |
FILE GENERATED AUTOMATICALLY FROM "xinerama.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xinerama.xml" |
FILE GENERATED AUTOMATICALLY FROM "xprint.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xprint.xml" |
FILE GENERATED AUTOMATICALLY FROM "xproto.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xproto.xml" |
FILE GENERATED AUTOMATICALLY FROM "xselinux.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xselinux.xml" |
FILE GENERATED AUTOMATICALLY FROM "xtest.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xtest.xml" |
FILE GENERATED AUTOMATICALLY FROM "xv.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xv.xml" |
FILE GENERATED AUTOMATICALLY FROM "xvmc.xml"
|
FILE GENERATED AUTOMATICALLY FROM "xvmc.xml" |
Click to show internal directories.
Click to hide internal directories.