Documentation
¶
Overview ¶
Code generated by xtgen; DO NOT EDIT.
Code generated by xtgen; DO NOT EDIT.
Code generated by xtgen; DO NOT EDIT.
Code generated by xtgen; DO NOT EDIT.
Index ¶
- Constants
- func Combine(b *xturbo.Buf, operation So, destinationKind Sk, sourceKind Sk, ...) xturbo.Seq
- func GetRectangles(b *xturbo.Buf, window xproto.Window, sourceKind Sk) xturbo.Seq
- func InputSelected(b *xturbo.Buf, destinationWindow xproto.Window) xturbo.Seq
- func Mask(b *xturbo.Buf, operation So, destinationKind Sk, ...) xturbo.Seq
- func Offset(b *xturbo.Buf, destinationKind Sk, destinationWindow xproto.Window, ...) xturbo.Seq
- func QueryExtents(b *xturbo.Buf, destinationWindow xproto.Window) xturbo.Seq
- func QueryVersion(b *xturbo.Buf) xturbo.Seq
- func Rectangles(b *xturbo.Buf, operation So, destinationKind Sk, ordering xproto.ClipOrdering, ...) xturbo.Seq
- func SelectInput(b *xturbo.Buf, destinationWindow xproto.Window, enable bool) xturbo.Seq
- type GetRectanglesReply
- type InputSelectedReply
- type Kind
- type NotifyEvent
- func (e NotifyEvent) AffectedWindow() xproto.Window
- func (e NotifyEvent) ExtentsHeight() uint16
- func (e NotifyEvent) ExtentsWidth() uint16
- func (e NotifyEvent) ExtentsX() int16
- func (e NotifyEvent) ExtentsY() int16
- func (e NotifyEvent) Raw() *[32]byte
- func (e NotifyEvent) ServerTime() xproto.Timestamp
- func (e NotifyEvent) ShapeKind() Sk
- func (e NotifyEvent) Shaped() bool
- type Op
- type QueryExtentsReply
- func (r QueryExtentsReply) BoundingShapeExtentsHeight() uint16
- func (r QueryExtentsReply) BoundingShapeExtentsWidth() uint16
- func (r QueryExtentsReply) BoundingShapeExtentsX() int16
- func (r QueryExtentsReply) BoundingShapeExtentsY() int16
- func (r QueryExtentsReply) BoundingShaped() bool
- func (r QueryExtentsReply) ClipShapeExtentsHeight() uint16
- func (r QueryExtentsReply) ClipShapeExtentsWidth() uint16
- func (r QueryExtentsReply) ClipShapeExtentsX() int16
- func (r QueryExtentsReply) ClipShapeExtentsY() int16
- func (r QueryExtentsReply) ClipShaped() bool
- func (r QueryExtentsReply) Raw() []byte
- type QueryVersionReply
- type RectangleList
- type Sk
- type So
Constants ¶
KindNotify identifies Notify events in xturbo.Event.Kind.
Variables ¶
This section is empty.
Functions ¶
func Combine ¶
func GetRectangles ¶
func Mask ¶
func Offset ¶
func Rectangles ¶
Types ¶
type GetRectanglesReply ¶
type GetRectanglesReply struct {
// contains filtered or unexported fields
}
GetRectanglesReply is a zero-copy view over a GetRectangles reply; offsets count from reply byte 0. It borrows the reply bytes: valid only until the Handler callback returns, because the read ring is reused. Copy what you keep.
func ParseGetRectanglesReply ¶
func ParseGetRectanglesReply(raw []byte) (GetRectanglesReply, bool)
ParseGetRectanglesReply validates raw (the whole reply, 32+4*length bytes) once; getters do not re-check.
func (GetRectanglesReply) Ordering ¶
func (r GetRectanglesReply) Ordering() xproto.ClipOrdering
func (GetRectanglesReply) Raw ¶
func (r GetRectanglesReply) Raw() []byte
func (GetRectanglesReply) Rectangles ¶
func (r GetRectanglesReply) Rectangles() RectangleList
func (GetRectanglesReply) RectanglesLen ¶
func (r GetRectanglesReply) RectanglesLen() uint32
type InputSelectedReply ¶
type InputSelectedReply struct {
// contains filtered or unexported fields
}
InputSelectedReply is a zero-copy view over a InputSelected reply; offsets count from reply byte 0. It borrows the reply bytes: valid only until the Handler callback returns, because the read ring is reused. Copy what you keep.
func ParseInputSelectedReply ¶
func ParseInputSelectedReply(raw []byte) (InputSelectedReply, bool)
ParseInputSelectedReply validates raw (the whole reply, 32+4*length bytes) once; getters do not re-check.
func (InputSelectedReply) Enabled ¶
func (r InputSelectedReply) Enabled() bool
func (InputSelectedReply) Raw ¶
func (r InputSelectedReply) Raw() []byte
type NotifyEvent ¶
type NotifyEvent struct {
// contains filtered or unexported fields
}
NotifyEvent is a view over a Notify event's 32 bytes. Getters read the copied Event.Raw, so a view stays valid as long as the Event value it was taken from.
func NotifyOf ¶
func NotifyOf(ev *xturbo.Event) NotifyEvent
NotifyOf views ev as Notify without checking ev.Kind: a wrong kind yields garbage, never a panic.
func (NotifyEvent) AffectedWindow ¶
func (e NotifyEvent) AffectedWindow() xproto.Window
func (NotifyEvent) ExtentsHeight ¶
func (e NotifyEvent) ExtentsHeight() uint16
func (NotifyEvent) ExtentsWidth ¶
func (e NotifyEvent) ExtentsWidth() uint16
func (NotifyEvent) ExtentsX ¶
func (e NotifyEvent) ExtentsX() int16
func (NotifyEvent) ExtentsY ¶
func (e NotifyEvent) ExtentsY() int16
func (NotifyEvent) Raw ¶
func (e NotifyEvent) Raw() *[32]byte
func (NotifyEvent) ServerTime ¶
func (e NotifyEvent) ServerTime() xproto.Timestamp
func (NotifyEvent) ShapeKind ¶
func (e NotifyEvent) ShapeKind() Sk
func (NotifyEvent) Shaped ¶
func (e NotifyEvent) Shaped() bool
type QueryExtentsReply ¶
type QueryExtentsReply struct {
// contains filtered or unexported fields
}
QueryExtentsReply is a zero-copy view over a QueryExtents reply; offsets count from reply byte 0. It borrows the reply bytes: valid only until the Handler callback returns, because the read ring is reused. Copy what you keep.
func ParseQueryExtentsReply ¶
func ParseQueryExtentsReply(raw []byte) (QueryExtentsReply, bool)
ParseQueryExtentsReply validates raw (the whole reply, 32+4*length bytes) once; getters do not re-check.
func (QueryExtentsReply) BoundingShapeExtentsHeight ¶
func (r QueryExtentsReply) BoundingShapeExtentsHeight() uint16
func (QueryExtentsReply) BoundingShapeExtentsWidth ¶
func (r QueryExtentsReply) BoundingShapeExtentsWidth() uint16
func (QueryExtentsReply) BoundingShapeExtentsX ¶
func (r QueryExtentsReply) BoundingShapeExtentsX() int16
func (QueryExtentsReply) BoundingShapeExtentsY ¶
func (r QueryExtentsReply) BoundingShapeExtentsY() int16
func (QueryExtentsReply) BoundingShaped ¶
func (r QueryExtentsReply) BoundingShaped() bool
func (QueryExtentsReply) ClipShapeExtentsHeight ¶
func (r QueryExtentsReply) ClipShapeExtentsHeight() uint16
func (QueryExtentsReply) ClipShapeExtentsWidth ¶
func (r QueryExtentsReply) ClipShapeExtentsWidth() uint16
func (QueryExtentsReply) ClipShapeExtentsX ¶
func (r QueryExtentsReply) ClipShapeExtentsX() int16
func (QueryExtentsReply) ClipShapeExtentsY ¶
func (r QueryExtentsReply) ClipShapeExtentsY() int16
func (QueryExtentsReply) ClipShaped ¶
func (r QueryExtentsReply) ClipShaped() bool
func (QueryExtentsReply) Raw ¶
func (r QueryExtentsReply) Raw() []byte
type QueryVersionReply ¶
type QueryVersionReply struct {
// contains filtered or unexported fields
}
QueryVersionReply is a zero-copy view over a QueryVersion reply; offsets count from reply byte 0. It borrows the reply bytes: valid only until the Handler callback returns, because the read ring is reused. Copy what you keep.
func ParseQueryVersionReply ¶
func ParseQueryVersionReply(raw []byte) (QueryVersionReply, bool)
ParseQueryVersionReply validates raw (the whole reply, 32+4*length bytes) once; getters do not re-check.
func (QueryVersionReply) MajorVersion ¶
func (r QueryVersionReply) MajorVersion() uint16
func (QueryVersionReply) MinorVersion ¶
func (r QueryVersionReply) MinorVersion() uint16
func (QueryVersionReply) Raw ¶
func (r QueryVersionReply) Raw() []byte
type RectangleList ¶
type RectangleList struct {
// contains filtered or unexported fields
}
RectangleList is a borrowed view over a wire list of xproto.Rectangle. It shares the lifetime of the bytes it was taken from; copy what you keep.
func (RectangleList) At ¶
func (l RectangleList) At(i int) xproto.Rectangle
func (RectangleList) Len ¶
func (l RectangleList) Len() int
Source Files
¶
- events_generated.go
- replies_generated.go
- requests_generated.go
- types_generated.go