Documentation
¶
Overview ¶
FILE GENERATED AUTOMATICALLY FROM "xc_misc.xml"
Index ¶
- Constants
- func GetVersionUnchecked(c *xgb.XConn, ClientMajorVersion uint16, ClientMinorVersion uint16) error
- func GetXIDListUnchecked(c *xgb.XConn, Count uint32) error
- func GetXIDRangeUnchecked(c *xgb.XConn) error
- func Register(xconn *xgb.XConn) error
- type GetVersionReply
- type GetXIDListReply
- type GetXIDRangeReply
Constants ¶
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 ¶
GetVersionUnchecked sends an unchecked request.
func GetXIDListUnchecked ¶
GetXIDListUnchecked sends an unchecked request.
func GetXIDRangeUnchecked ¶
GetXIDRangeUnchecked sends an unchecked request.
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.