Documentation ¶
Overview ¶
FILE GENERATED AUTOMATICALLY FROM "xtest.xml"
Index ¶
- Constants
- func CompareCursorUnchecked(c *xgb.XConn, Window xproto.Window, Cursor xproto.Cursor) error
- func FakeInput(c *xgb.XConn, Type byte, Detail byte, Time uint32, Root xproto.Window, ...) error
- func FakeInputUnchecked(c *xgb.XConn, Type byte, Detail byte, Time uint32, Root xproto.Window, ...) error
- func GetVersionUnchecked(c *xgb.XConn, MajorVersion byte, MinorVersion uint16) error
- func GrabControl(c *xgb.XConn, Impervious bool) error
- func GrabControlUnchecked(c *xgb.XConn, Impervious bool) error
- func Register(xconn *xgb.XConn) error
- type CompareCursorReply
- type GetVersionReply
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 ¶
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 ¶
GetVersionUnchecked sends an unchecked request.
func GrabControl ¶
GrabControl sends a checked request.
func GrabControlUnchecked ¶ added in v1.1.0
GrabControlUnchecked sends an unchecked request.
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.
Click to show internal directories.
Click to hide internal directories.