Documentation
¶
Index ¶
- Constants
- func ChangeCursor(conn *x.Conn, source, destination x.Cursor)
- func ChangeCursorByName(conn *x.Conn, src x.Cursor, name string)
- func ChangeCursorByNameChecked(conn *x.Conn, src x.Cursor, name string) x.VoidCookie
- func ChangeCursorChecked(conn *x.Conn, source, destination x.Cursor) x.VoidCookie
- func ChangeSaveSet(conn *x.Conn, mode, target, map0 uint8, window x.Window)
- func ChangeSaveSetChecked(conn *x.Conn, mode, target, map0 uint8, window x.Window) x.VoidCookie
- func CopyRegion(conn *x.Conn, source, destination Region)
- func CopyRegionChecked(conn *x.Conn, source, destination Region) x.VoidCookie
- func CreatePointerBarrier(conn *x.Conn, barrier Barrier, drawable x.Drawable, x1, y1, x2, y2 int16, ...)
- func CreatePointerBarrierChecked(conn *x.Conn, barrier Barrier, drawable x.Drawable, x1, y1, x2, y2 int16, ...) x.VoidCookie
- func CreateRegion(conn *x.Conn, region Region, rects []x.Rectangle)
- func CreateRegionChecked(conn *x.Conn, region Region, rects []x.Rectangle) x.VoidCookie
- func CreateRegionFromBitmap(conn *x.Conn, region Region, bitmap x.Pixmap)
- func CreateRegionFromBitmapChecked(conn *x.Conn, region Region, bitmap x.Pixmap) x.VoidCookie
- func CreateRegionFromGC(conn *x.Conn, region Region, gc x.GContext)
- func CreateRegionFromGCChecked(conn *x.Conn, region Region, gc x.GContext) x.VoidCookie
- func DeletePointerBarrier(conn *x.Conn, barrier Barrier)
- func DeletePointerBarrierChecked(conn *x.Conn, barrier Barrier) x.VoidCookie
- func DestroyRegion(conn *x.Conn, region Region)
- func DestroyRegionChecked(conn *x.Conn, region Region) x.VoidCookie
- func ExpandRegion(conn *x.Conn, source, destination Region, left, right, top, bottom uint16)
- func ExpandRegionChecked(conn *x.Conn, source, destination Region, left, right, top, bottom uint16) x.VoidCookie
- func Ext() *x.Extension
- func HideCursor(conn *x.Conn, window x.Window)
- func HideCursorChecked(conn *x.Conn, window x.Window) x.VoidCookie
- func IntersectRegion(conn *x.Conn, source1, source2, destination Region)
- func IntersectRegionChecked(conn *x.Conn, source1, source2, destination Region) x.VoidCookie
- func InvertRegion(conn *x.Conn, source Region, bounds x.Rectangle, destination Region)
- func InvertRegionChecked(conn *x.Conn, source Region, bounds x.Rectangle, destination Region) x.VoidCookie
- func RegionExtents(conn *x.Conn, source, destination Region)
- func RegionExtentsChecked(conn *x.Conn, source, destination Region) x.VoidCookie
- func SelectCursorInput(conn *x.Conn, window x.Window, eventMask uint32)
- func SelectCursorInputChecked(conn *x.Conn, window x.Window, eventMask uint32) x.VoidCookie
- func SelectSelectionInput(conn *x.Conn, window x.Window, selection x.Atom, eventMask uint32)
- func SelectSelectionInputChecked(conn *x.Conn, window x.Window, selection x.Atom, eventMask uint32) x.VoidCookie
- func SetCursorName(conn *x.Conn, cursor x.Cursor, name string)
- func SetCursorNameChecked(conn *x.Conn, cursor x.Cursor, name string) x.VoidCookie
- func SetGCClipRegion(conn *x.Conn, gc x.GContext, clipXOrigin, clipYOrigin int16, region Region)
- func SetGCClipRegionChecked(conn *x.Conn, gc x.GContext, clipXOrigin, clipYOrigin int16, region Region) x.VoidCookie
- func SetRegion(conn *x.Conn, region Region, rects []x.Rectangle)
- func SetRegionChecked(conn *x.Conn, region Region, rects []x.Rectangle) x.VoidCookie
- func ShowCursor(conn *x.Conn, window x.Window)
- func ShowCursorChecked(conn *x.Conn, window x.Window) x.VoidCookie
- func SubtractRegion(conn *x.Conn, source1, source2, destination Region)
- func SubtractRegionChecked(conn *x.Conn, source1, source2, destination Region) x.VoidCookie
- func TranslateRegion(conn *x.Conn, region Region, dx, dy int16)
- func TranslateRegionChecked(conn *x.Conn, region Region, dx, dy int16) x.VoidCookie
- func UnionRegion(conn *x.Conn, source1, source2, destination Region)
- func UnionRegionChecked(conn *x.Conn, source1, source2, destination Region) x.VoidCookie
- type Barrier
- type CursorNotifyEvent
- type FetchRegionCookie
- type FetchRegionReply
- type GetCursorImageAndNameCookie
- type GetCursorImageAndNameReply
- type GetCursorImageCookie
- type GetCursorImageReply
- type GetCursorNameCookie
- type QueryVersionCookie
- type QueryVersionReply
- type Region
- type SelectionNotifyEvent
Constants ¶
View Source
const ( SaveSetModeInsert = 0 SaveSetModeDelete = 1 )
enum SaveSetMode
View Source
const ( SaveSetTargetNearest = 0 SaveSetTargetRoot = 1 )
enum SaveSetTarget
View Source
const ( SaveSetMappingMap = 0 SaveSetMappingUnmap = 1 )
enum SaveSetMapping
View Source
const ( SelectionEventSetSelectionOwner = 0 SelectionEventSelectionWindowDestroy = 1 SelectionEventSelectionClientClose = 2 )
enum SelectionEvent
View Source
const ( SelectionEventMaskSetSelectionOwner = 1 SelectionEventMaskSelectionWindowDestroy = 2 SelectionEventMaskSelectionClientClose = 4 )
enum SelectionEventMask
View Source
const ( BarrierDirectionsPositiveX = 1 BarrierDirectionsPositiveY = 2 BarrierDirectionsNegativeX = 4 BarrierDirectionsNegativeY = 8 )
enum BarrierDirections
View Source
const BadRegionErrorCode = 0
View Source
const ChangeCursorByNameOpcode = 27
View Source
const ChangeCursorOpcode = 26
View Source
const ChangeSaveSetOpcode = 1
View Source
const CopyRegionOpcode = 12
View Source
const CreatePointerBarrierOpcode = 31
View Source
const CreateRegionFromBitmapOpcode = 6
View Source
const CreateRegionFromGCOpcode = 8
View Source
const CreateRegionFromPictureOpcode = 9
View Source
const CreateRegionFromWindowOpcode = 7
View Source
const CreateRegionOpcode = 5
View Source
const (
CursorNotifyDisplayCursor = 0
)
enum CursorNotify
View Source
const CursorNotifyEventCode = 1
View Source
const (
CursorNotifyMaskDisplayCursor = 1
)
enum CursorNotifyMask
View Source
const DeletePointerBarrierOpcode = 32
View Source
const DestroyRegionOpcode = 10
View Source
const ExpandRegionOpcode = 28
View Source
const FetchRegionOpcode = 19
View Source
const GetCursorImageAndNameOpcode = 25
View Source
const GetCursorImageOpcode = 4
View Source
const GetCursorNameOpcode = 24
View Source
const HideCursorOpcode = 29
View Source
const IntersectRegionOpcode = 14
View Source
const InvertRegionOpcode = 16
View Source
const MajorVersion = 5
_ns.ext_name: XFixes
View Source
const MinorVersion = 0
View Source
const QueryVersionOpcode = 0
View Source
const RegionExtentsOpcode = 18
View Source
const (
RegionNone = 0
)
enum Region
View Source
const SelectCursorInputOpcode = 3
View Source
const SelectSelectionInputOpcode = 2
View Source
const SelectionNotifyEventCode = 0
View Source
const SetCursorNameOpcode = 23
View Source
const SetGCClipRegionOpcode = 20
View Source
const SetPictureClipRegionOpcode = 22
View Source
const SetRegionOpcode = 11
View Source
const SetWindowShapeRegionOpcode = 21
View Source
const ShowCursorOpcode = 30
View Source
const SubtractRegionOpcode = 15
View Source
const TranslateRegionOpcode = 17
View Source
const UnionRegionOpcode = 13
Variables ¶
This section is empty.
Functions ¶
func ChangeCursorChecked ¶
func ChangeSaveSetChecked ¶
func CopyRegion ¶
func CopyRegionChecked ¶
func CopyRegionChecked(conn *x.Conn, source, destination Region) x.VoidCookie
func CreatePointerBarrier ¶
func CreateRegionChecked ¶
func CreateRegionFromBitmap ¶
func DeletePointerBarrier ¶
func DeletePointerBarrierChecked ¶
func DeletePointerBarrierChecked(conn *x.Conn, barrier Barrier) x.VoidCookie
func DestroyRegion ¶
func DestroyRegionChecked ¶
func DestroyRegionChecked(conn *x.Conn, region Region) x.VoidCookie
func ExpandRegion ¶
func ExpandRegionChecked ¶
func HideCursorChecked ¶
func IntersectRegion ¶
func IntersectRegionChecked ¶
func IntersectRegionChecked(conn *x.Conn, source1, source2, destination Region) x.VoidCookie
func InvertRegion ¶
func InvertRegionChecked ¶
func RegionExtents ¶
func RegionExtentsChecked ¶
func RegionExtentsChecked(conn *x.Conn, source, destination Region) x.VoidCookie
func SelectSelectionInput ¶
func SetCursorNameChecked ¶
func SetGCClipRegion ¶
func SetGCClipRegionChecked ¶
func SetRegionChecked ¶
func ShowCursorChecked ¶
func SubtractRegion ¶
func SubtractRegionChecked ¶
func SubtractRegionChecked(conn *x.Conn, source1, source2, destination Region) x.VoidCookie
func TranslateRegionChecked ¶
func UnionRegion ¶
func UnionRegionChecked ¶
func UnionRegionChecked(conn *x.Conn, source1, source2, destination Region) x.VoidCookie
Types ¶
type CursorNotifyEvent ¶
type CursorNotifyEvent struct { Subtype uint8 Sequence uint16 Window x.Window CursorSerial uint32 Timestamp x.Timestamp Name x.Atom }
func NewCursorNotifyEvent ¶
func NewCursorNotifyEvent(data []byte) (*CursorNotifyEvent, error)
type FetchRegionCookie ¶
func FetchRegion ¶
func FetchRegion(conn *x.Conn, region Region) FetchRegionCookie
func (FetchRegionCookie) Reply ¶
func (cookie FetchRegionCookie) Reply(conn *x.Conn) (*FetchRegionReply, error)
type FetchRegionReply ¶
type FetchRegionReply struct { Extents x.Rectangle Rectangles []x.Rectangle }
type GetCursorImageAndNameCookie ¶
func GetCursorImageAndName ¶
func GetCursorImageAndName(conn *x.Conn) GetCursorImageAndNameCookie
func (GetCursorImageAndNameCookie) Reply ¶
func (cookie GetCursorImageAndNameCookie) Reply(conn *x.Conn) (*GetCursorImageAndNameReply, error)
type GetCursorImageCookie ¶
func GetCursorImage ¶
func GetCursorImage(conn *x.Conn) GetCursorImageCookie
func (GetCursorImageCookie) Reply ¶
func (cookie GetCursorImageCookie) Reply(conn *x.Conn) (*GetCursorImageReply, error)
type GetCursorImageReply ¶
type GetCursorNameCookie ¶
type QueryVersionCookie ¶
func QueryVersion ¶
func QueryVersion(conn *x.Conn, majorVersion, minorVersion uint32) QueryVersionCookie
func (QueryVersionCookie) Reply ¶
func (cookie QueryVersionCookie) Reply(conn *x.Conn) (*QueryVersionReply, error)
type QueryVersionReply ¶
type SelectionNotifyEvent ¶
type SelectionNotifyEvent struct { Subtype uint8 Sequence uint16 Window x.Window Owner x.Window Selection x.Atom Timestamp x.Timestamp SelectionTimestamp x.Timestamp }
func NewSelectionNotifyEvent ¶
func NewSelectionNotifyEvent(data []byte) (*SelectionNotifyEvent, error)
Click to show internal directories.
Click to hide internal directories.