xevie

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: BSD-3-Clause, GooglePatentClause Imports: 6 Imported by: 0

Documentation

Overview

FILE GENERATED AUTOMATICALLY FROM "xevie.xml"

Index

Constants

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

	// ExtXName is the name string this extension is known by to the X server.
	ExtXName = "XEVIE"
)
View Source
const (
	DatatypeUnmodified = 0
	DatatypeModified   = 1
)

Variables

This section is empty.

Functions

func EndUnchecked

func EndUnchecked(c *xgb.XConn, Cmap uint32) error

EndUnchecked sends an unchecked request.

func EventListBytes

func EventListBytes(buf []byte, list []Event) int

EventListBytes writes a list of Event values to a byte slice.

func EventRead

func EventRead(buf []byte, v *Event) int

EventRead reads a byte slice into a Event value.

func EventReadList

func EventReadList(buf []byte, dest []Event) int

EventReadList reads a byte slice into a list of Event values.

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 Xevie extension support, and register relevant extension unmarshalers with the XConn.

func SelectInputUnchecked

func SelectInputUnchecked(c *xgb.XConn, EventMask uint32) error

SelectInputUnchecked sends an unchecked request.

func SendUnchecked

func SendUnchecked(c *xgb.XConn, Event Event, DataType uint32) error

SendUnchecked sends an unchecked request.

func StartUnchecked

func StartUnchecked(c *xgb.XConn, Screen uint32) error

StartUnchecked sends an unchecked request.

Types

type EndReply

type EndReply struct {
	Sequence uint16 // sequence number of the request for this reply
	Length   uint32 // number of bytes in this reply

}

EndReply represents the data returned from a End request.

func End

func End(c *xgb.XConn, Cmap uint32) (EndReply, error)

End sends a checked request.

func (*EndReply) Unmarshal added in v1.1.0

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

Unmarshal reads a byte slice into a EndReply value.

type Event

type Event struct {
}

func (Event) Bytes

func (v Event) Bytes() []byte

Bytes writes a Event value to a byte slice.

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
	ServerMajorVersion uint16
	ServerMinorVersion 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.

type SelectInputReply

type SelectInputReply struct {
	Sequence uint16 // sequence number of the request for this reply
	Length   uint32 // number of bytes in this reply

}

SelectInputReply represents the data returned from a SelectInput request.

func SelectInput

func SelectInput(c *xgb.XConn, EventMask uint32) (SelectInputReply, error)

SelectInput sends a checked request.

func (*SelectInputReply) Unmarshal added in v1.1.0

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

Unmarshal reads a byte slice into a SelectInputReply value.

type SendReply

type SendReply struct {
	Sequence uint16 // sequence number of the request for this reply
	Length   uint32 // number of bytes in this reply

}

SendReply represents the data returned from a Send request.

func Send

func Send(c *xgb.XConn, Event Event, DataType uint32) (SendReply, error)

Send sends a checked request.

func (*SendReply) Unmarshal added in v1.1.0

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

Unmarshal reads a byte slice into a SendReply value.

type StartReply

type StartReply struct {
	Sequence uint16 // sequence number of the request for this reply
	Length   uint32 // number of bytes in this reply

}

StartReply represents the data returned from a Start request.

func Start

func Start(c *xgb.XConn, Screen uint32) (StartReply, error)

Start sends a checked request.

func (*StartReply) Unmarshal added in v1.1.0

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

Unmarshal reads a byte slice into a StartReply value.

Jump to

Keyboard shortcuts

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