xcmisc

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: 6 Imported by: 0

Documentation

Overview

FILE GENERATED AUTOMATICALLY FROM "xc_misc.xml"

Index

Constants

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

	// ExtXName is the name string this extension is known by to the X server.
	ExtXName = "XC-MISC"
)

Variables

This section is empty.

Functions

func GetVersionUnchecked

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

GetVersionUnchecked sends an unchecked request.

func GetXIDListUnchecked

func GetXIDListUnchecked(c *xgb.XConn, Count uint32) error

GetXIDListUnchecked sends an unchecked request.

func GetXIDRangeUnchecked

func GetXIDRangeUnchecked(c *xgb.XConn) error

GetXIDRangeUnchecked sends an unchecked request.

func Register added in v1.1.0

func Register(xconn *xgb.XConn) error

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

Types

type GetVersionReply

type GetVersionReply 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
}

GetVersionReply represents the data returned from a GetVersion request.

func GetVersion

func GetVersion(c *xgb.XConn, ClientMajorVersion uint16, ClientMinorVersion 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.

type GetXIDListReply

type GetXIDListReply struct {
	Sequence uint16 // sequence number of the request for this reply
	Length   uint32 // number of bytes in this reply
	// padding: 1 bytes
	IdsLen uint32
	// padding: 20 bytes
	Ids []uint32 // size: internal.Pad4((int(IdsLen) * 4))
}

GetXIDListReply represents the data returned from a GetXIDList request.

func GetXIDList

func GetXIDList(c *xgb.XConn, Count uint32) (GetXIDListReply, error)

GetXIDList sends a checked request.

func (*GetXIDListReply) Unmarshal added in v1.1.0

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

Unmarshal reads a byte slice into a GetXIDListReply value.

type GetXIDRangeReply

type GetXIDRangeReply struct {
	Sequence uint16 // sequence number of the request for this reply
	Length   uint32 // number of bytes in this reply
	// padding: 1 bytes
	StartId uint32
	Count   uint32
}

GetXIDRangeReply represents the data returned from a GetXIDRange request.

func GetXIDRange

func GetXIDRange(c *xgb.XConn) (GetXIDRangeReply, error)

GetXIDRange sends a checked request.

func (*GetXIDRangeReply) Unmarshal added in v1.1.0

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

Unmarshal reads a byte slice into a GetXIDRangeReply value.

Jump to

Keyboard shortcuts

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