xfixes

package
v0.0.0-...-7ad2634 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

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 ChangeCursor

func ChangeCursor(conn *x.Conn, source, destination x.Cursor)

func ChangeCursorByName

func ChangeCursorByName(conn *x.Conn, src x.Cursor, name string)

func ChangeCursorByNameChecked

func ChangeCursorByNameChecked(conn *x.Conn, src x.Cursor, name string) x.VoidCookie

func ChangeCursorChecked

func ChangeCursorChecked(conn *x.Conn, source, destination x.Cursor) x.VoidCookie

func ChangeSaveSet

func ChangeSaveSet(conn *x.Conn, mode, target, map0 uint8, window x.Window)

func ChangeSaveSetChecked

func ChangeSaveSetChecked(conn *x.Conn, mode, target, map0 uint8, window x.Window) x.VoidCookie

func CopyRegion

func CopyRegion(conn *x.Conn, source, destination Region)

func CopyRegionChecked

func CopyRegionChecked(conn *x.Conn, source, destination Region) x.VoidCookie

func CreatePointerBarrier

func CreatePointerBarrier(conn *x.Conn, barrier Barrier, drawable x.Drawable, x1, y1, x2, y2 int16, directions uint32, devices []uint16)

func CreatePointerBarrierChecked

func CreatePointerBarrierChecked(conn *x.Conn, barrier Barrier, drawable x.Drawable, x1, y1, x2, y2 int16, directions uint32, devices []uint16) x.VoidCookie

func CreateRegion

func CreateRegion(conn *x.Conn, region Region, rects []x.Rectangle)

func CreateRegionChecked

func CreateRegionChecked(conn *x.Conn, region Region, rects []x.Rectangle) x.VoidCookie

func CreateRegionFromBitmap

func CreateRegionFromBitmap(conn *x.Conn, region Region, bitmap x.Pixmap)

func CreateRegionFromBitmapChecked

func CreateRegionFromBitmapChecked(conn *x.Conn, region Region, bitmap x.Pixmap) x.VoidCookie

func CreateRegionFromGC

func CreateRegionFromGC(conn *x.Conn, region Region, gc x.GContext)

func CreateRegionFromGCChecked

func CreateRegionFromGCChecked(conn *x.Conn, region Region, gc x.GContext) x.VoidCookie

func DeletePointerBarrier

func DeletePointerBarrier(conn *x.Conn, barrier Barrier)

func DeletePointerBarrierChecked

func DeletePointerBarrierChecked(conn *x.Conn, barrier Barrier) x.VoidCookie

func DestroyRegion

func DestroyRegion(conn *x.Conn, region Region)

func DestroyRegionChecked

func DestroyRegionChecked(conn *x.Conn, region Region) x.VoidCookie

func ExpandRegion

func ExpandRegion(conn *x.Conn, source, destination Region, left, right, top, bottom uint16)

func ExpandRegionChecked

func ExpandRegionChecked(conn *x.Conn, source, destination Region, left, right, top, bottom uint16) x.VoidCookie

func Ext

func Ext() *x.Extension

func HideCursor

func HideCursor(conn *x.Conn, window x.Window)

func HideCursorChecked

func HideCursorChecked(conn *x.Conn, window x.Window) x.VoidCookie

func IntersectRegion

func IntersectRegion(conn *x.Conn, source1, source2, destination Region)

func IntersectRegionChecked

func IntersectRegionChecked(conn *x.Conn, source1, source2, destination Region) x.VoidCookie

func InvertRegion

func InvertRegion(conn *x.Conn, source Region, bounds x.Rectangle, destination Region)

func InvertRegionChecked

func InvertRegionChecked(conn *x.Conn, source Region, bounds x.Rectangle, destination Region) x.VoidCookie

func RegionExtents

func RegionExtents(conn *x.Conn, source, destination Region)

func RegionExtentsChecked

func RegionExtentsChecked(conn *x.Conn, source, destination Region) x.VoidCookie

func SelectCursorInput

func SelectCursorInput(conn *x.Conn, window x.Window, eventMask uint32)

func SelectCursorInputChecked

func SelectCursorInputChecked(conn *x.Conn, window x.Window, eventMask uint32) x.VoidCookie

func SelectSelectionInput

func SelectSelectionInput(conn *x.Conn, window x.Window, selection x.Atom, eventMask uint32)

func SelectSelectionInputChecked

func SelectSelectionInputChecked(conn *x.Conn, window x.Window, selection x.Atom, eventMask uint32) x.VoidCookie

func SetCursorName

func SetCursorName(conn *x.Conn, cursor x.Cursor, name string)

func SetCursorNameChecked

func SetCursorNameChecked(conn *x.Conn, cursor x.Cursor, name string) x.VoidCookie

func SetGCClipRegion

func SetGCClipRegion(conn *x.Conn, gc x.GContext, clipXOrigin, clipYOrigin int16, region Region)

func SetGCClipRegionChecked

func SetGCClipRegionChecked(conn *x.Conn, gc x.GContext, clipXOrigin, clipYOrigin int16, region Region) x.VoidCookie

func SetRegion

func SetRegion(conn *x.Conn, region Region, rects []x.Rectangle)

func SetRegionChecked

func SetRegionChecked(conn *x.Conn, region Region, rects []x.Rectangle) x.VoidCookie

func ShowCursor

func ShowCursor(conn *x.Conn, window x.Window)

func ShowCursorChecked

func ShowCursorChecked(conn *x.Conn, window x.Window) x.VoidCookie

func SubtractRegion

func SubtractRegion(conn *x.Conn, source1, source2, destination Region)

func SubtractRegionChecked

func SubtractRegionChecked(conn *x.Conn, source1, source2, destination Region) x.VoidCookie

func TranslateRegion

func TranslateRegion(conn *x.Conn, region Region, dx, dy int16)

func TranslateRegionChecked

func TranslateRegionChecked(conn *x.Conn, region Region, dx, dy int16) x.VoidCookie

func UnionRegion

func UnionRegion(conn *x.Conn, source1, source2, destination Region)

func UnionRegionChecked

func UnionRegionChecked(conn *x.Conn, source1, source2, destination Region) x.VoidCookie

Types

type Barrier

type Barrier uint32

simple ('xcb', 'XFixes', 'BARRIER')

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

type FetchRegionCookie x.SeqNum

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

type GetCursorImageAndNameCookie x.SeqNum

func GetCursorImageAndName

func GetCursorImageAndName(conn *x.Conn) GetCursorImageAndNameCookie

func (GetCursorImageAndNameCookie) Reply

type GetCursorImageAndNameReply

type GetCursorImageAndNameReply struct {
	X, Y          int16
	Width, Height uint16
	XHot, YHot    uint16
	CursorSerial  uint32
	CursorAtom    x.Atom
	CursorName    string
	CursorImage   []uint32
}

type GetCursorImageCookie

type GetCursorImageCookie x.SeqNum

func GetCursorImage

func GetCursorImage(conn *x.Conn) GetCursorImageCookie

func (GetCursorImageCookie) Reply

func (cookie GetCursorImageCookie) Reply(conn *x.Conn) (*GetCursorImageReply, error)

type GetCursorImageReply

type GetCursorImageReply struct {
	X            int16
	Y            int16
	Width        uint16
	Height       uint16
	XHot         uint16
	YHot         uint16
	CursorSerial uint32
	CursorImage  []uint32
}

type GetCursorNameCookie

type GetCursorNameCookie x.SeqNum

type QueryVersionCookie

type QueryVersionCookie x.SeqNum

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 QueryVersionReply struct {
	MajorVersion uint32
	MinorVersion uint32
}

type Region

type Region uint32

simple ('xcb', 'XFixes', 'REGION')

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL