Documentation ¶
Overview ¶
FILE GENERATED AUTOMATICALLY FROM "xevie.xml"
Index ¶
- Constants
- func EndUnchecked(c *xgb.XConn, Cmap uint32) error
- func EventListBytes(buf []byte, list []Event) int
- func EventRead(buf []byte, v *Event) int
- func EventReadList(buf []byte, dest []Event) int
- func QueryVersionUnchecked(c *xgb.XConn, ClientMajorVersion uint16, ClientMinorVersion uint16) error
- func Register(xconn *xgb.XConn) error
- func SelectInputUnchecked(c *xgb.XConn, EventMask uint32) error
- func SendUnchecked(c *xgb.XConn, Event Event, DataType uint32) error
- func StartUnchecked(c *xgb.XConn, Screen uint32) error
- type EndReply
- type Event
- type QueryVersionReply
- type SelectInputReply
- type SendReply
- type StartReply
Constants ¶
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" )
const ( DatatypeUnmodified = 0 DatatypeModified = 1 )
Variables ¶
This section is empty.
Functions ¶
func EndUnchecked ¶
EndUnchecked sends an unchecked request.
func EventListBytes ¶
EventListBytes writes a list of Event values to a byte slice.
func EventReadList ¶
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 ¶
SelectInputUnchecked sends an unchecked request.
func SendUnchecked ¶
SendUnchecked sends an unchecked request.
func StartUnchecked ¶
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.
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.
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.