ge

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 "ge.xml"

Index

Constants

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

	// ExtXName is the name string this extension is known by to the X server.
	ExtXName = "Generic Event Extension"
)

Variables

This section is empty.

Functions

func QueryVersionUnchecked

func QueryVersionUnchecked(c *xgb.XConn, ClientMajorVersion uint16, ClientMinorVersion uint16) error

QueryVersionUnchecked sends an unchecked request.

func Register added in v1.1.0

func Register(xconn *xgb.XConn) error

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

Types

type QueryVersionReply

type QueryVersionReply struct {
	Sequence uint16 // sequence number of the request for this reply
	Length   uint32 // number of bytes in this reply
	// padding: 1 bytes
	MajorVersion uint16
	MinorVersion uint16
}

QueryVersionReply represents the data returned from a QueryVersion request.

func QueryVersion

func QueryVersion(c *xgb.XConn, ClientMajorVersion uint16, ClientMinorVersion uint16) (QueryVersionReply, error)

QueryVersion sends a checked request.

func (*QueryVersionReply) Unmarshal added in v1.1.0

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

Unmarshal reads a byte slice into a QueryVersionReply value.

Jump to

Keyboard shortcuts

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