xtest

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: BSD-3-Clause, GooglePatentClause Imports: 5 Imported by: 0

Documentation

Overview

FILE GENERATED AUTOMATICALLY FROM "xtest.xml"

Index

Constants

View Source
const (
	// ExtName is the user-friendly name string of this X extension.
	ExtName = "Test"

	// ExtXName is the name string this extension is known by to the X server.
	ExtXName = "XTEST"
)
View Source
const (
	CursorNone    = 0
	CursorCurrent = 1
)

Variables

This section is empty.

Functions

func CompareCursorUnchecked

func CompareCursorUnchecked(c *xgb.XConn, Window xproto.Window, Cursor xproto.Cursor) error

CompareCursorUnchecked sends an unchecked request.

func FakeInput

func FakeInput(c *xgb.XConn, Type byte, Detail byte, Time uint32, Root xproto.Window, RootX int16, RootY int16, Deviceid byte) error

FakeInput sends a checked request.

func FakeInputUnchecked added in v1.1.0

func FakeInputUnchecked(c *xgb.XConn, Type byte, Detail byte, Time uint32, Root xproto.Window, RootX int16, RootY int16, Deviceid byte) error

FakeInputUnchecked sends an unchecked request.

func GetVersionUnchecked

func GetVersionUnchecked(c *xgb.XConn, MajorVersion byte, MinorVersion uint16) error

GetVersionUnchecked sends an unchecked request.

func GrabControl

func GrabControl(c *xgb.XConn, Impervious bool) error

GrabControl sends a checked request.

func GrabControlUnchecked added in v1.1.0

func GrabControlUnchecked(c *xgb.XConn, Impervious bool) error

GrabControlUnchecked sends an unchecked request.

func Register added in v1.1.0

func Register(xconn *xgb.XConn) error

Register will query the X server for Test extension support, and register relevant extension unmarshalers with the XConn.

Types

type CompareCursorReply

type CompareCursorReply struct {
	Sequence uint16 // sequence number of the request for this reply
	Length   uint32 // number of bytes in this reply
	Same     bool
}

CompareCursorReply represents the data returned from a CompareCursor request.

func CompareCursor

func CompareCursor(c *xgb.XConn, Window xproto.Window, Cursor xproto.Cursor) (CompareCursorReply, error)

CompareCursor sends a checked request.

func (*CompareCursorReply) Unmarshal added in v1.1.0

func (v *CompareCursorReply) Unmarshal(buf []byte) error

Unmarshal reads a byte slice into a CompareCursorReply value.

type GetVersionReply

type GetVersionReply struct {
	Sequence     uint16 // sequence number of the request for this reply
	Length       uint32 // number of bytes in this reply
	MajorVersion byte
	MinorVersion uint16
}

GetVersionReply represents the data returned from a GetVersion request.

func GetVersion

func GetVersion(c *xgb.XConn, MajorVersion byte, MinorVersion uint16) (GetVersionReply, error)

GetVersion sends a checked request.

func (*GetVersionReply) Unmarshal added in v1.1.0

func (v *GetVersionReply) Unmarshal(buf []byte) error

Unmarshal reads a byte slice into a GetVersionReply value.

Jump to

Keyboard shortcuts

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