Documentation ¶
Overview ¶
FILE GENERATED AUTOMATICALLY FROM "xproto.xml"
Index ¶
- Constants
- func AllocColorCellsUnchecked(c *xgb.XConn, Contiguous bool, Cmap Colormap, Colors uint16, Planes uint16) error
- func AllocColorPlanesUnchecked(c *xgb.XConn, Contiguous bool, Cmap Colormap, Colors uint16, Reds uint16, ...) error
- func AllocColorUnchecked(c *xgb.XConn, Cmap Colormap, Red uint16, Green uint16, Blue uint16) error
- func AllocNamedColorUnchecked(c *xgb.XConn, Cmap Colormap, NameLen uint16, Name string) error
- func AllowEvents(c *xgb.XConn, Mode byte, Time Timestamp) error
- func AllowEventsUnchecked(c *xgb.XConn, Mode byte, Time Timestamp) error
- func ArcListBytes(buf []byte, list []Arc) int
- func ArcRead(buf []byte, v *Arc) int
- func ArcReadList(buf []byte, dest []Arc) int
- func Bell(c *xgb.XConn, Percent int8) error
- func BellUnchecked(c *xgb.XConn, Percent int8) error
- func ChangeActivePointerGrab(c *xgb.XConn, Cursor Cursor, Time Timestamp, EventMask uint16) error
- func ChangeActivePointerGrabUnchecked(c *xgb.XConn, Cursor Cursor, Time Timestamp, EventMask uint16) error
- func ChangeGC(c *xgb.XConn, Gc Gcontext, ValueMask uint32, ValueList []uint32) error
- func ChangeGCUnchecked(c *xgb.XConn, Gc Gcontext, ValueMask uint32, ValueList []uint32) error
- func ChangeHosts(c *xgb.XConn, Mode byte, Family byte, AddressLen uint16, Address []byte) error
- func ChangeHostsUnchecked(c *xgb.XConn, Mode byte, Family byte, AddressLen uint16, Address []byte) error
- func ChangeKeyboardControl(c *xgb.XConn, ValueMask uint32, ValueList []uint32) error
- func ChangeKeyboardControlUnchecked(c *xgb.XConn, ValueMask uint32, ValueList []uint32) error
- func ChangeKeyboardMapping(c *xgb.XConn, KeycodeCount byte, FirstKeycode Keycode, KeysymsPerKeycode byte, ...) error
- func ChangeKeyboardMappingUnchecked(c *xgb.XConn, KeycodeCount byte, FirstKeycode Keycode, KeysymsPerKeycode byte, ...) error
- func ChangePointerControl(c *xgb.XConn, AccelerationNumerator int16, AccelerationDenominator int16, ...) error
- func ChangePointerControlUnchecked(c *xgb.XConn, AccelerationNumerator int16, AccelerationDenominator int16, ...) error
- func ChangeProperty(c *xgb.XConn, Mode byte, Window Window, Property Atom, Type Atom, Format byte, ...) error
- func ChangePropertyUnchecked(c *xgb.XConn, Mode byte, Window Window, Property Atom, Type Atom, Format byte, ...) error
- func ChangeSaveSet(c *xgb.XConn, Mode byte, Window Window) error
- func ChangeSaveSetUnchecked(c *xgb.XConn, Mode byte, Window Window) error
- func ChangeWindowAttributes(c *xgb.XConn, Window Window, ValueMask uint32, ValueList []uint32) error
- func ChangeWindowAttributesUnchecked(c *xgb.XConn, Window Window, ValueMask uint32, ValueList []uint32) error
- func Char2bListBytes(buf []byte, list []Char2b) int
- func Char2bRead(buf []byte, v *Char2b) int
- func Char2bReadList(buf []byte, dest []Char2b) int
- func CharinfoListBytes(buf []byte, list []Charinfo) int
- func CharinfoRead(buf []byte, v *Charinfo) int
- func CharinfoReadList(buf []byte, dest []Charinfo) int
- func CirculateWindow(c *xgb.XConn, Direction byte, Window Window) error
- func CirculateWindowUnchecked(c *xgb.XConn, Direction byte, Window Window) error
- func ClearArea(c *xgb.XConn, Exposures bool, Window Window, X int16, Y int16, Width uint16, ...) error
- func ClearAreaUnchecked(c *xgb.XConn, Exposures bool, Window Window, X int16, Y int16, Width uint16, ...) error
- func ClientMessageDataUnionListBytes(buf []byte, list []ClientMessageDataUnion) int
- func ClientMessageDataUnionRead(buf []byte, v *ClientMessageDataUnion) int
- func ClientMessageDataUnionReadList(buf []byte, dest []ClientMessageDataUnion) int
- func CloseFont(c *xgb.XConn, Font Font) error
- func CloseFontUnchecked(c *xgb.XConn, Font Font) error
- func ColoritemListBytes(buf []byte, list []Coloritem) int
- func ColoritemRead(buf []byte, v *Coloritem) int
- func ColoritemReadList(buf []byte, dest []Coloritem) int
- func ConfigureWindow(c *xgb.XConn, Window Window, ValueMask uint16, ValueList []uint32) error
- func ConfigureWindowUnchecked(c *xgb.XConn, Window Window, ValueMask uint16, ValueList []uint32) error
- func ConvertSelection(c *xgb.XConn, Requestor Window, Selection Atom, Target Atom, Property Atom, ...) error
- func ConvertSelectionUnchecked(c *xgb.XConn, Requestor Window, Selection Atom, Target Atom, Property Atom, ...) error
- func CopyArea(c *xgb.XConn, SrcDrawable Drawable, DstDrawable Drawable, Gc Gcontext, ...) error
- func CopyAreaUnchecked(c *xgb.XConn, SrcDrawable Drawable, DstDrawable Drawable, Gc Gcontext, ...) error
- func CopyColormapAndFree(c *xgb.XConn, Mid Colormap, SrcCmap Colormap) error
- func CopyColormapAndFreeUnchecked(c *xgb.XConn, Mid Colormap, SrcCmap Colormap) error
- func CopyGC(c *xgb.XConn, SrcGc Gcontext, DstGc Gcontext, ValueMask uint32) error
- func CopyGCUnchecked(c *xgb.XConn, SrcGc Gcontext, DstGc Gcontext, ValueMask uint32) error
- func CopyPlane(c *xgb.XConn, SrcDrawable Drawable, DstDrawable Drawable, Gc Gcontext, ...) error
- func CopyPlaneUnchecked(c *xgb.XConn, SrcDrawable Drawable, DstDrawable Drawable, Gc Gcontext, ...) error
- func CreateColormap(c *xgb.XConn, Alloc byte, Mid Colormap, Window Window, Visual Visualid) error
- func CreateColormapUnchecked(c *xgb.XConn, Alloc byte, Mid Colormap, Window Window, Visual Visualid) error
- func CreateCursor(c *xgb.XConn, Cid Cursor, Source Pixmap, Mask Pixmap, ForeRed uint16, ...) error
- func CreateCursorUnchecked(c *xgb.XConn, Cid Cursor, Source Pixmap, Mask Pixmap, ForeRed uint16, ...) error
- func CreateGC(c *xgb.XConn, Cid Gcontext, Drawable Drawable, ValueMask uint32, ...) error
- func CreateGCUnchecked(c *xgb.XConn, Cid Gcontext, Drawable Drawable, ValueMask uint32, ...) error
- func CreateGlyphCursor(c *xgb.XConn, Cid Cursor, SourceFont Font, MaskFont Font, SourceChar uint16, ...) error
- func CreateGlyphCursorUnchecked(c *xgb.XConn, Cid Cursor, SourceFont Font, MaskFont Font, SourceChar uint16, ...) error
- func CreatePixmap(c *xgb.XConn, Depth byte, Pid Pixmap, Drawable Drawable, Width uint16, ...) error
- func CreatePixmapUnchecked(c *xgb.XConn, Depth byte, Pid Pixmap, Drawable Drawable, Width uint16, ...) error
- func CreateWindow(c *xgb.XConn, Depth byte, Wid Window, Parent Window, X int16, Y int16, ...) error
- func CreateWindowUnchecked(c *xgb.XConn, Depth byte, Wid Window, Parent Window, X int16, Y int16, ...) error
- func DeleteProperty(c *xgb.XConn, Window Window, Property Atom) error
- func DeletePropertyUnchecked(c *xgb.XConn, Window Window, Property Atom) error
- func DepthInfoListBytes(buf []byte, list []DepthInfo) int
- func DepthInfoListSize(list []DepthInfo) int
- func DepthInfoRead(buf []byte, v *DepthInfo) int
- func DepthInfoReadList(buf []byte, dest []DepthInfo) int
- func DestroySubwindows(c *xgb.XConn, Window Window) error
- func DestroySubwindowsUnchecked(c *xgb.XConn, Window Window) error
- func DestroyWindow(c *xgb.XConn, Window Window) error
- func DestroyWindowUnchecked(c *xgb.XConn, Window Window) error
- func FillPoly(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Shape byte, CoordinateMode byte, ...) error
- func FillPolyUnchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Shape byte, CoordinateMode byte, ...) error
- func FontpropListBytes(buf []byte, list []Fontprop) int
- func FontpropRead(buf []byte, v *Fontprop) int
- func FontpropReadList(buf []byte, dest []Fontprop) int
- func ForceScreenSaver(c *xgb.XConn, Mode byte) error
- func ForceScreenSaverUnchecked(c *xgb.XConn, Mode byte) error
- func FormatListBytes(buf []byte, list []Format) int
- func FormatRead(buf []byte, v *Format) int
- func FormatReadList(buf []byte, dest []Format) int
- func FreeColormap(c *xgb.XConn, Cmap Colormap) error
- func FreeColormapUnchecked(c *xgb.XConn, Cmap Colormap) error
- func FreeColors(c *xgb.XConn, Cmap Colormap, PlaneMask uint32, Pixels []uint32) error
- func FreeColorsUnchecked(c *xgb.XConn, Cmap Colormap, PlaneMask uint32, Pixels []uint32) error
- func FreeCursor(c *xgb.XConn, Cursor Cursor) error
- func FreeCursorUnchecked(c *xgb.XConn, Cursor Cursor) error
- func FreeGC(c *xgb.XConn, Gc Gcontext) error
- func FreeGCUnchecked(c *xgb.XConn, Gc Gcontext) error
- func FreePixmap(c *xgb.XConn, Pixmap Pixmap) error
- func FreePixmapUnchecked(c *xgb.XConn, Pixmap Pixmap) error
- func GetAtomNameUnchecked(c *xgb.XConn, Atom Atom) error
- func GetFontPathUnchecked(c *xgb.XConn) error
- func GetGeometryUnchecked(c *xgb.XConn, Drawable Drawable) error
- func GetImageUnchecked(c *xgb.XConn, Format byte, Drawable Drawable, X int16, Y int16, Width uint16, ...) error
- func GetInputFocusUnchecked(c *xgb.XConn) error
- func GetKeyboardControlUnchecked(c *xgb.XConn) error
- func GetKeyboardMappingUnchecked(c *xgb.XConn, FirstKeycode Keycode, Count byte) error
- func GetModifierMappingUnchecked(c *xgb.XConn) error
- func GetMotionEventsUnchecked(c *xgb.XConn, Window Window, Start Timestamp, Stop Timestamp) error
- func GetPointerControlUnchecked(c *xgb.XConn) error
- func GetPointerMappingUnchecked(c *xgb.XConn) error
- func GetPropertyUnchecked(c *xgb.XConn, Delete bool, Window Window, Property Atom, Type Atom, ...) error
- func GetScreenSaverUnchecked(c *xgb.XConn) error
- func GetSelectionOwnerUnchecked(c *xgb.XConn, Selection Atom) error
- func GetWindowAttributesUnchecked(c *xgb.XConn, Window Window) error
- func GrabButton(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, EventMask uint16, ...) error
- func GrabButtonUnchecked(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, EventMask uint16, ...) error
- func GrabKey(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, Modifiers uint16, ...) error
- func GrabKeyUnchecked(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, Modifiers uint16, ...) error
- func GrabKeyboardUnchecked(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, Time Timestamp, ...) error
- func GrabPointerUnchecked(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, EventMask uint16, ...) error
- func GrabServer(c *xgb.XConn) error
- func GrabServerUnchecked(c *xgb.XConn) error
- func HostListBytes(buf []byte, list []Host) int
- func HostListSize(list []Host) int
- func HostRead(buf []byte, v *Host) int
- func HostReadList(buf []byte, dest []Host) int
- func ImageText16(c *xgb.XConn, StringLen byte, Drawable Drawable, Gc Gcontext, X int16, Y int16, ...) error
- func ImageText16Unchecked(c *xgb.XConn, StringLen byte, Drawable Drawable, Gc Gcontext, X int16, Y int16, ...) error
- func ImageText8(c *xgb.XConn, StringLen byte, Drawable Drawable, Gc Gcontext, X int16, Y int16, ...) error
- func ImageText8Unchecked(c *xgb.XConn, StringLen byte, Drawable Drawable, Gc Gcontext, X int16, Y int16, ...) error
- func InstallColormap(c *xgb.XConn, Cmap Colormap) error
- func InstallColormapUnchecked(c *xgb.XConn, Cmap Colormap) error
- func InternAtomUnchecked(c *xgb.XConn, OnlyIfExists bool, NameLen uint16, Name string) error
- func KillClient(c *xgb.XConn, Resource uint32) error
- func KillClientUnchecked(c *xgb.XConn, Resource uint32) error
- func ListExtensionsUnchecked(c *xgb.XConn) error
- func ListFontsUnchecked(c *xgb.XConn, MaxNames uint16, PatternLen uint16, Pattern string) error
- func ListFontsWithInfoUnchecked(c *xgb.XConn, MaxNames uint16, PatternLen uint16, Pattern string) error
- func ListHostsUnchecked(c *xgb.XConn) error
- func ListInstalledColormapsUnchecked(c *xgb.XConn, Window Window) error
- func ListPropertiesUnchecked(c *xgb.XConn, Window Window) error
- func LookupColorUnchecked(c *xgb.XConn, Cmap Colormap, NameLen uint16, Name string) error
- func MapSubwindows(c *xgb.XConn, Window Window) error
- func MapSubwindowsUnchecked(c *xgb.XConn, Window Window) error
- func MapWindow(c *xgb.XConn, Window Window) error
- func MapWindowUnchecked(c *xgb.XConn, Window Window) error
- func NoOperation(c *xgb.XConn) error
- func NoOperationUnchecked(c *xgb.XConn) error
- func OpenFont(c *xgb.XConn, Fid Font, NameLen uint16, Name string) error
- func OpenFontUnchecked(c *xgb.XConn, Fid Font, NameLen uint16, Name string) error
- func PointListBytes(buf []byte, list []Point) int
- func PointRead(buf []byte, v *Point) int
- func PointReadList(buf []byte, dest []Point) int
- func PolyArc(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Arcs []Arc) error
- func PolyArcUnchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Arcs []Arc) error
- func PolyFillArc(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Arcs []Arc) error
- func PolyFillArcUnchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Arcs []Arc) error
- func PolyFillRectangle(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Rectangles []Rectangle) error
- func PolyFillRectangleUnchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Rectangles []Rectangle) error
- func PolyLine(c *xgb.XConn, CoordinateMode byte, Drawable Drawable, Gc Gcontext, ...) error
- func PolyLineUnchecked(c *xgb.XConn, CoordinateMode byte, Drawable Drawable, Gc Gcontext, ...) error
- func PolyPoint(c *xgb.XConn, CoordinateMode byte, Drawable Drawable, Gc Gcontext, ...) error
- func PolyPointUnchecked(c *xgb.XConn, CoordinateMode byte, Drawable Drawable, Gc Gcontext, ...) error
- func PolyRectangle(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Rectangles []Rectangle) error
- func PolyRectangleUnchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Rectangles []Rectangle) error
- func PolySegment(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Segments []Segment) error
- func PolySegmentUnchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Segments []Segment) error
- func PolyText16(c *xgb.XConn, Drawable Drawable, Gc Gcontext, X int16, Y int16, Items []byte) error
- func PolyText16Unchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, X int16, Y int16, Items []byte) error
- func PolyText8(c *xgb.XConn, Drawable Drawable, Gc Gcontext, X int16, Y int16, Items []byte) error
- func PolyText8Unchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, X int16, Y int16, Items []byte) error
- func PutImage(c *xgb.XConn, Format byte, Drawable Drawable, Gc Gcontext, Width uint16, ...) error
- func PutImageUnchecked(c *xgb.XConn, Format byte, Drawable Drawable, Gc Gcontext, Width uint16, ...) error
- func QueryBestSizeUnchecked(c *xgb.XConn, Class byte, Drawable Drawable, Width uint16, Height uint16) error
- func QueryColorsUnchecked(c *xgb.XConn, Cmap Colormap, Pixels []uint32) error
- func QueryExtensionUnchecked(c *xgb.XConn, NameLen uint16, Name string) error
- func QueryFontUnchecked(c *xgb.XConn, Font Fontable) error
- func QueryKeymapUnchecked(c *xgb.XConn) error
- func QueryPointerUnchecked(c *xgb.XConn, Window Window) error
- func QueryTextExtentsUnchecked(c *xgb.XConn, Font Fontable, String []Char2b, StringLen uint16) error
- func QueryTreeUnchecked(c *xgb.XConn, Window Window) error
- func RecolorCursor(c *xgb.XConn, Cursor Cursor, ForeRed uint16, ForeGreen uint16, ForeBlue uint16, ...) error
- func RecolorCursorUnchecked(c *xgb.XConn, Cursor Cursor, ForeRed uint16, ForeGreen uint16, ForeBlue uint16, ...) error
- func RectangleListBytes(buf []byte, list []Rectangle) int
- func RectangleRead(buf []byte, v *Rectangle) int
- func RectangleReadList(buf []byte, dest []Rectangle) int
- func ReparentWindow(c *xgb.XConn, Window Window, Parent Window, X int16, Y int16) error
- func ReparentWindowUnchecked(c *xgb.XConn, Window Window, Parent Window, X int16, Y int16) error
- func RgbListBytes(buf []byte, list []Rgb) int
- func RgbRead(buf []byte, v *Rgb) int
- func RgbReadList(buf []byte, dest []Rgb) int
- func RotateProperties(c *xgb.XConn, Window Window, AtomsLen uint16, Delta int16, Atoms []Atom) error
- func RotatePropertiesUnchecked(c *xgb.XConn, Window Window, AtomsLen uint16, Delta int16, Atoms []Atom) error
- func ScreenInfoListBytes(buf []byte, list []ScreenInfo) int
- func ScreenInfoListSize(list []ScreenInfo) int
- func ScreenInfoRead(buf []byte, v *ScreenInfo) int
- func ScreenInfoReadList(buf []byte, dest []ScreenInfo) int
- func SegmentListBytes(buf []byte, list []Segment) int
- func SegmentRead(buf []byte, v *Segment) int
- func SegmentReadList(buf []byte, dest []Segment) int
- func SendEvent(c *xgb.XConn, Propagate bool, Destination Window, EventMask uint32, ...) error
- func SendEventUnchecked(c *xgb.XConn, Propagate bool, Destination Window, EventMask uint32, ...) error
- func SetAccessControl(c *xgb.XConn, Mode byte) error
- func SetAccessControlUnchecked(c *xgb.XConn, Mode byte) error
- func SetClipRectangles(c *xgb.XConn, Ordering byte, Gc Gcontext, ClipXOrigin int16, ClipYOrigin int16, ...) error
- func SetClipRectanglesUnchecked(c *xgb.XConn, Ordering byte, Gc Gcontext, ClipXOrigin int16, ClipYOrigin int16, ...) error
- func SetCloseDownMode(c *xgb.XConn, Mode byte) error
- func SetCloseDownModeUnchecked(c *xgb.XConn, Mode byte) error
- func SetDashes(c *xgb.XConn, Gc Gcontext, DashOffset uint16, DashesLen uint16, Dashes []byte) error
- func SetDashesUnchecked(c *xgb.XConn, Gc Gcontext, DashOffset uint16, DashesLen uint16, Dashes []byte) error
- func SetFontPath(c *xgb.XConn, FontQty uint16, Font []Str) error
- func SetFontPathUnchecked(c *xgb.XConn, FontQty uint16, Font []Str) error
- func SetInputFocus(c *xgb.XConn, RevertTo byte, Focus Window, Time Timestamp) error
- func SetInputFocusUnchecked(c *xgb.XConn, RevertTo byte, Focus Window, Time Timestamp) error
- func SetModifierMappingUnchecked(c *xgb.XConn, KeycodesPerModifier byte, Keycodes []Keycode) error
- func SetPointerMappingUnchecked(c *xgb.XConn, MapLen byte, Map []byte) error
- func SetScreenSaver(c *xgb.XConn, Timeout int16, Interval int16, PreferBlanking byte, ...) error
- func SetScreenSaverUnchecked(c *xgb.XConn, Timeout int16, Interval int16, PreferBlanking byte, ...) error
- func SetSelectionOwner(c *xgb.XConn, Owner Window, Selection Atom, Time Timestamp) error
- func SetSelectionOwnerUnchecked(c *xgb.XConn, Owner Window, Selection Atom, Time Timestamp) error
- func SetupAuthenticateListBytes(buf []byte, list []SetupAuthenticate) int
- func SetupAuthenticateListSize(list []SetupAuthenticate) int
- func SetupAuthenticateRead(buf []byte, v *SetupAuthenticate) int
- func SetupAuthenticateReadList(buf []byte, dest []SetupAuthenticate) int
- func SetupFailedListBytes(buf []byte, list []SetupFailed) int
- func SetupFailedListSize(list []SetupFailed) int
- func SetupFailedRead(buf []byte, v *SetupFailed) int
- func SetupFailedReadList(buf []byte, dest []SetupFailed) int
- func SetupInfoListBytes(buf []byte, list []SetupInfo) int
- func SetupInfoListSize(list []SetupInfo) int
- func SetupInfoRead(buf []byte, v *SetupInfo) int
- func SetupInfoReadList(buf []byte, dest []SetupInfo) int
- func SetupRequestListBytes(buf []byte, list []SetupRequest) int
- func SetupRequestListSize(list []SetupRequest) int
- func SetupRequestRead(buf []byte, v *SetupRequest) int
- func SetupRequestReadList(buf []byte, dest []SetupRequest) int
- func StoreColors(c *xgb.XConn, Cmap Colormap, Items []Coloritem) error
- func StoreColorsUnchecked(c *xgb.XConn, Cmap Colormap, Items []Coloritem) error
- func StoreNamedColor(c *xgb.XConn, Flags byte, Cmap Colormap, Pixel uint32, NameLen uint16, ...) error
- func StoreNamedColorUnchecked(c *xgb.XConn, Flags byte, Cmap Colormap, Pixel uint32, NameLen uint16, ...) error
- func StrListBytes(buf []byte, list []Str) int
- func StrListSize(list []Str) int
- func StrRead(buf []byte, v *Str) int
- func StrReadList(buf []byte, dest []Str) int
- func TimecoordListBytes(buf []byte, list []Timecoord) int
- func TimecoordRead(buf []byte, v *Timecoord) int
- func TimecoordReadList(buf []byte, dest []Timecoord) int
- func TranslateCoordinatesUnchecked(c *xgb.XConn, SrcWindow Window, DstWindow Window, SrcX int16, SrcY int16) error
- func UngrabButton(c *xgb.XConn, Button byte, GrabWindow Window, Modifiers uint16) error
- func UngrabButtonUnchecked(c *xgb.XConn, Button byte, GrabWindow Window, Modifiers uint16) error
- func UngrabKey(c *xgb.XConn, Key Keycode, GrabWindow Window, Modifiers uint16) error
- func UngrabKeyUnchecked(c *xgb.XConn, Key Keycode, GrabWindow Window, Modifiers uint16) error
- func UngrabKeyboard(c *xgb.XConn, Time Timestamp) error
- func UngrabKeyboardUnchecked(c *xgb.XConn, Time Timestamp) error
- func UngrabPointer(c *xgb.XConn, Time Timestamp) error
- func UngrabPointerUnchecked(c *xgb.XConn, Time Timestamp) error
- func UngrabServer(c *xgb.XConn) error
- func UngrabServerUnchecked(c *xgb.XConn) error
- func UninstallColormap(c *xgb.XConn, Cmap Colormap) error
- func UninstallColormapUnchecked(c *xgb.XConn, Cmap Colormap) error
- func UnmapSubwindows(c *xgb.XConn, Window Window) error
- func UnmapSubwindowsUnchecked(c *xgb.XConn, Window Window) error
- func UnmapWindow(c *xgb.XConn, Window Window) error
- func UnmapWindowUnchecked(c *xgb.XConn, Window Window) error
- func UnmarshalAccessError(buf []byte) (xgb.XError, error)
- func UnmarshalAllocError(buf []byte) (xgb.XError, error)
- func UnmarshalAtomError(buf []byte) (xgb.XError, error)
- func UnmarshalButtonPressEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalButtonReleaseEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalCirculateNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalCirculateRequestEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalClientMessageEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalColormapError(buf []byte) (xgb.XError, error)
- func UnmarshalColormapNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalConfigureNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalConfigureRequestEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalCreateNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalCursorError(buf []byte) (xgb.XError, error)
- func UnmarshalDestroyNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalDrawableError(buf []byte) (xgb.XError, error)
- func UnmarshalEnterNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalExposeEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalFocusInEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalFocusOutEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalFontError(buf []byte) (xgb.XError, error)
- func UnmarshalGContextError(buf []byte) (xgb.XError, error)
- func UnmarshalGeGenericEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalGraphicsExposureEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalGravityNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalIDChoiceError(buf []byte) (xgb.XError, error)
- func UnmarshalImplementationError(buf []byte) (xgb.XError, error)
- func UnmarshalKeyPressEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalKeyReleaseEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalKeymapNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalLeaveNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalLengthError(buf []byte) (xgb.XError, error)
- func UnmarshalMapNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalMapRequestEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalMappingNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalMatchError(buf []byte) (xgb.XError, error)
- func UnmarshalMotionNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalNameError(buf []byte) (xgb.XError, error)
- func UnmarshalNoExposureEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalPixmapError(buf []byte) (xgb.XError, error)
- func UnmarshalPropertyNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalReparentNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalRequestError(buf []byte) (xgb.XError, error)
- func UnmarshalResizeRequestEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalSelectionClearEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalSelectionNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalSelectionRequestEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalUnmapNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalValueError(buf []byte) (xgb.XError, error)
- func UnmarshalVisibilityNotifyEvent(buf []byte) (xgb.XEvent, error)
- func UnmarshalWindowError(buf []byte) (xgb.XError, error)
- func VisualInfoListBytes(buf []byte, list []VisualInfo) int
- func VisualInfoRead(buf []byte, v *VisualInfo) int
- func VisualInfoReadList(buf []byte, dest []VisualInfo) int
- func WarpPointer(c *xgb.XConn, SrcWindow Window, DstWindow Window, SrcX int16, SrcY int16, ...) error
- func WarpPointerUnchecked(c *xgb.XConn, SrcWindow Window, DstWindow Window, SrcX int16, SrcY int16, ...) error
- type AccessError
- type AllocColorCellsReply
- type AllocColorPlanesReply
- type AllocColorReply
- type AllocError
- type AllocNamedColorReply
- type Arc
- type Atom
- type AtomError
- type Bool32
- type Button
- type ButtonPressEvent
- type ButtonReleaseEvent
- type Char2b
- type Charinfo
- type CirculateNotifyEvent
- type CirculateRequestEvent
- type ClientMessageDataUnion
- type ClientMessageEvent
- type Coloritem
- type Colormap
- type ColormapError
- type ColormapNotifyEvent
- type ConfigureNotifyEvent
- type ConfigureRequestEvent
- type CreateNotifyEvent
- type Cursor
- type CursorError
- type DepthInfo
- type DestroyNotifyEvent
- type Drawable
- type DrawableError
- type EnterNotifyEvent
- type ExposeEvent
- type FocusInEvent
- type FocusOutEvent
- type Font
- type FontError
- type Fontable
- type Fontprop
- type Format
- type GContextError
- type Gcontext
- type GeGenericEvent
- type GetAtomNameReply
- type GetFontPathReply
- type GetGeometryReply
- type GetImageReply
- type GetInputFocusReply
- type GetKeyboardControlReply
- type GetKeyboardMappingReply
- type GetModifierMappingReply
- type GetMotionEventsReply
- type GetPointerControlReply
- type GetPointerMappingReply
- type GetPropertyReply
- type GetScreenSaverReply
- type GetSelectionOwnerReply
- type GetWindowAttributesReply
- type GrabKeyboardReply
- type GrabPointerReply
- type GraphicsExposureEvent
- type GravityNotifyEvent
- type Host
- type IDChoiceError
- type ImplementationError
- type InternAtomReply
- type KeyPressEvent
- type KeyReleaseEvent
- type Keycode
- type Keycode32
- type KeymapNotifyEvent
- type Keysym
- type LeaveNotifyEvent
- type LengthError
- type ListExtensionsReply
- type ListFontsReply
- type ListFontsWithInfoReply
- type ListHostsReply
- type ListInstalledColormapsReply
- type ListPropertiesReply
- type LookupColorReply
- type MapNotifyEvent
- type MapRequestEvent
- type MappingNotifyEvent
- type MatchError
- type MotionNotifyEvent
- type NameError
- type NoExposureEvent
- type Pixmap
- type PixmapError
- type Point
- type PropertyNotifyEvent
- type QueryBestSizeReply
- type QueryColorsReply
- type QueryExtensionReply
- type QueryFontReply
- type QueryKeymapReply
- type QueryPointerReply
- type QueryTextExtentsReply
- type QueryTreeReply
- type Rectangle
- type ReparentNotifyEvent
- type RequestError
- type ResizeRequestEvent
- type Rgb
- type ScreenInfo
- type Segment
- type SelectionClearEvent
- type SelectionNotifyEvent
- type SelectionRequestEvent
- type SetModifierMappingReply
- type SetPointerMappingReply
- type SetupAuthenticate
- type SetupFailed
- type SetupInfo
- type SetupRequest
- type Str
- type Timecoord
- type Timestamp
- type TranslateCoordinatesReply
- type UnmapNotifyEvent
- type ValueError
- type VisibilityNotifyEvent
- type VisualInfo
- type Visualid
- type Window
- type WindowError
Constants ¶
const ( AccessControlDisable = 0 AccessControlEnable = 1 )
const ( AllowAsyncPointer = 0 AllowSyncPointer = 1 AllowReplayPointer = 2 AllowAsyncKeyboard = 3 AllowSyncKeyboard = 4 AllowReplayKeyboard = 5 AllowAsyncBoth = 6 AllowSyncBoth = 7 )
const ( ArcModeChord = 0 ArcModePieSlice = 1 )
const ( AtomNone = 0 AtomAny = 0 AtomPrimary = 1 AtomSecondary = 2 AtomArc = 3 AtomAtom = 4 AtomBitmap = 5 AtomCardinal = 6 AtomColormap = 7 AtomCursor = 8 AtomCutBuffer0 = 9 AtomCutBuffer1 = 10 AtomCutBuffer2 = 11 AtomCutBuffer3 = 12 AtomCutBuffer4 = 13 AtomCutBuffer5 = 14 AtomCutBuffer6 = 15 AtomCutBuffer7 = 16 AtomDrawable = 17 AtomFont = 18 AtomInteger = 19 AtomPixmap = 20 AtomPoint = 21 AtomRectangle = 22 AtomResourceManager = 23 AtomRgbColorMap = 24 AtomRgbBestMap = 25 AtomRgbBlueMap = 26 AtomRgbDefaultMap = 27 AtomRgbGrayMap = 28 AtomRgbGreenMap = 29 AtomRgbRedMap = 30 AtomString = 31 AtomVisualid = 32 AtomWindow = 33 AtomWmCommand = 34 AtomWmHints = 35 AtomWmClientMachine = 36 AtomWmIconName = 37 AtomWmIconSize = 38 AtomWmName = 39 AtomWmNormalHints = 40 AtomWmSizeHints = 41 AtomWmZoomHints = 42 AtomMinSpace = 43 AtomNormSpace = 44 AtomMaxSpace = 45 AtomEndSpace = 46 AtomSuperscriptX = 47 AtomSuperscriptY = 48 AtomSubscriptX = 49 AtomSubscriptY = 50 AtomUnderlinePosition = 51 AtomUnderlineThickness = 52 AtomStrikeoutAscent = 53 AtomStrikeoutDescent = 54 AtomItalicAngle = 55 AtomXHeight = 56 AtomQuadWidth = 57 AtomWeight = 58 AtomPointSize = 59 AtomResolution = 60 AtomCopyright = 61 AtomNotice = 62 AtomFontName = 63 AtomFamilyName = 64 AtomFullName = 65 AtomCapHeight = 66 AtomWmClass = 67 AtomWmTransientFor = 68 )
const ( AutoRepeatModeOff = 0 AutoRepeatModeOn = 1 AutoRepeatModeDefault = 2 )
const ( BackPixmapNone = 0 BackPixmapParentRelative = 1 )
const ( BackingStoreNotUseful = 0 BackingStoreWhenMapped = 1 BackingStoreAlways = 2 )
const ( BlankingNotPreferred = 0 BlankingPreferred = 1 BlankingDefault = 2 )
const ( ButtonIndexAny = 0 ButtonIndex1 = 1 ButtonIndex2 = 2 ButtonIndex3 = 3 ButtonIndex4 = 4 ButtonIndex5 = 5 )
const ( ButtonMask1 = 256 ButtonMask2 = 512 ButtonMask3 = 1024 ButtonMask4 = 2048 ButtonMask5 = 4096 ButtonMaskAny = 32768 )
const ( CapStyleNotLast = 0 CapStyleButt = 1 CapStyleRound = 2 CapStyleProjecting = 3 )
const ( CirculateRaiseLowest = 0 CirculateLowerHighest = 1 )
const ( ClipOrderingUnsorted = 0 ClipOrderingYSorted = 1 ClipOrderingYXSorted = 2 ClipOrderingYXBanded = 3 )
const ( CloseDownDestroyAll = 0 CloseDownRetainPermanent = 1 CloseDownRetainTemporary = 2 )
const ( ColorFlagRed = 1 ColorFlagGreen = 2 ColorFlagBlue = 4 )
const ( ColormapAllocNone = 0 ColormapAllocAll = 1 )
const ( ColormapStateUninstalled = 0 ColormapStateInstalled = 1 )
const ( ConfigWindowX = 1 ConfigWindowY = 2 ConfigWindowWidth = 4 ConfigWindowHeight = 8 ConfigWindowBorderWidth = 16 ConfigWindowSibling = 32 ConfigWindowStackMode = 64 )
const ( CoordModeOrigin = 0 CoordModePrevious = 1 )
const ( CwBackPixmap = 1 CwBackPixel = 2 CwBorderPixmap = 4 CwBorderPixel = 8 CwBitGravity = 16 CwWinGravity = 32 CwBackingStore = 64 CwBackingPlanes = 128 CwBackingPixel = 256 CwOverrideRedirect = 512 CwSaveUnder = 1024 CwEventMask = 2048 CwDontPropagate = 4096 CwColormap = 8192 CwCursor = 16384 )
const ( EventMaskNoEvent = 0 EventMaskKeyPress = 1 EventMaskKeyRelease = 2 EventMaskButtonPress = 4 EventMaskButtonRelease = 8 EventMaskEnterWindow = 16 EventMaskLeaveWindow = 32 EventMaskPointerMotion = 64 EventMaskPointerMotionHint = 128 EventMaskButton1Motion = 256 EventMaskButton2Motion = 512 EventMaskButton3Motion = 1024 EventMaskButton4Motion = 2048 EventMaskButton5Motion = 4096 EventMaskButtonMotion = 8192 EventMaskKeymapState = 16384 EventMaskExposure = 32768 EventMaskVisibilityChange = 65536 EventMaskStructureNotify = 131072 EventMaskResizeRedirect = 262144 EventMaskSubstructureNotify = 524288 EventMaskSubstructureRedirect = 1048576 EventMaskFocusChange = 2097152 EventMaskPropertyChange = 4194304 EventMaskColorMapChange = 8388608 EventMaskOwnerGrabButton = 16777216 )
const ( ExposuresNotAllowed = 0 ExposuresAllowed = 1 ExposuresDefault = 2 )
const ( FamilyInternet = 0 FamilyDECnet = 1 FamilyChaos = 2 FamilyServerInterpreted = 5 FamilyInternet6 = 6 )
const ( FillRuleEvenOdd = 0 FillRuleWinding = 1 )
const ( FillStyleSolid = 0 FillStyleTiled = 1 FillStyleStippled = 2 FillStyleOpaqueStippled = 3 )
const ( FontDrawLeftToRight = 0 FontDrawRightToLeft = 1 )
const ( GcFunction = 1 GcPlaneMask = 2 GcForeground = 4 GcBackground = 8 GcLineWidth = 16 GcLineStyle = 32 GcCapStyle = 64 GcJoinStyle = 128 GcFillStyle = 256 GcFillRule = 512 GcTile = 1024 GcStipple = 2048 GcTileStippleOriginX = 4096 GcTileStippleOriginY = 8192 GcFont = 16384 GcSubwindowMode = 32768 GcGraphicsExposures = 65536 GcClipOriginX = 131072 GcClipOriginY = 262144 GcClipMask = 524288 GcDashOffset = 1048576 GcDashList = 2097152 GcArcMode = 4194304 )
const ( GrabModeSync = 0 GrabModeAsync = 1 )
const ( GrabStatusSuccess = 0 GrabStatusAlreadyGrabbed = 1 GrabStatusInvalidTime = 2 GrabStatusNotViewable = 3 GrabStatusFrozen = 4 )
const ( GravityBitForget = 0 GravityWinUnmap = 0 GravityNorthWest = 1 GravityNorth = 2 GravityNorthEast = 3 GravityWest = 4 GravityCenter = 5 GravityEast = 6 GravitySouthWest = 7 GravitySouth = 8 GravitySouthEast = 9 GravityStatic = 10 )
const ( GxClear = 0 GxAnd = 1 GxAndReverse = 2 GxCopy = 3 GxAndInverted = 4 GxNoop = 5 GxXor = 6 GxOr = 7 GxNor = 8 GxEquiv = 9 GxInvert = 10 GxOrReverse = 11 GxCopyInverted = 12 GxOrInverted = 13 GxNand = 14 GxSet = 15 )
const ( HostModeInsert = 0 HostModeDelete = 1 )
const ( ImageFormatXYBitmap = 0 ImageFormatXYPixmap = 1 ImageFormatZPixmap = 2 )
const ( ImageOrderLSBFirst = 0 ImageOrderMSBFirst = 1 )
const ( InputFocusNone = 0 InputFocusPointerRoot = 1 InputFocusParent = 2 InputFocusFollowKeyboard = 3 )
const ( JoinStyleMiter = 0 JoinStyleRound = 1 JoinStyleBevel = 2 )
const ( KbKeyClickPercent = 1 KbBellPercent = 2 KbBellPitch = 4 KbBellDuration = 8 KbLed = 16 KbLedMode = 32 KbKey = 64 KbAutoRepeatMode = 128 )
const ( KeyButMaskShift = 1 KeyButMaskLock = 2 KeyButMaskControl = 4 KeyButMaskMod1 = 8 KeyButMaskMod2 = 16 KeyButMaskMod3 = 32 KeyButMaskMod4 = 64 KeyButMaskMod5 = 128 KeyButMaskButton1 = 256 KeyButMaskButton2 = 512 KeyButMaskButton3 = 1024 KeyButMaskButton4 = 2048 KeyButMaskButton5 = 4096 )
const ( LedModeOff = 0 LedModeOn = 1 )
const ( LineStyleSolid = 0 LineStyleOnOffDash = 1 LineStyleDoubleDash = 2 )
const ( MapIndexShift = 0 MapIndexLock = 1 MapIndexControl = 2 MapIndex1 = 3 MapIndex2 = 4 MapIndex3 = 5 MapIndex4 = 6 MapIndex5 = 7 )
const ( MapStateUnmapped = 0 MapStateUnviewable = 1 MapStateViewable = 2 )
const ( MappingModifier = 0 MappingKeyboard = 1 MappingPointer = 2 )
const ( MappingStatusSuccess = 0 MappingStatusBusy = 1 MappingStatusFailure = 2 )
const ( ModMaskShift = 1 ModMaskLock = 2 ModMaskControl = 4 ModMask1 = 8 ModMask2 = 16 ModMask3 = 32 ModMask4 = 64 ModMask5 = 128 ModMaskAny = 32768 )
const ( MotionNormal = 0 MotionHint = 1 )
const ( NotifyDetailAncestor = 0 NotifyDetailVirtual = 1 NotifyDetailInferior = 2 NotifyDetailNonlinear = 3 NotifyDetailNonlinearVirtual = 4 NotifyDetailPointer = 5 NotifyDetailPointerRoot = 6 NotifyDetailNone = 7 )
const ( NotifyModeNormal = 0 NotifyModeGrab = 1 NotifyModeUngrab = 2 NotifyModeWhileGrabbed = 3 )
const ( PlaceOnTop = 0 PlaceOnBottom = 1 )
const ( PolyShapeComplex = 0 PolyShapeNonconvex = 1 PolyShapeConvex = 2 )
const ( PropModeReplace = 0 PropModePrepend = 1 PropModeAppend = 2 )
const ( PropertyNewValue = 0 PropertyDelete = 1 )
const ( QueryShapeOfLargestCursor = 0 QueryShapeOfFastestTile = 1 QueryShapeOfFastestStipple = 2 )
const ( ScreenSaverReset = 0 ScreenSaverActive = 1 )
const ( SendEventDestPointerWindow = 0 SendEventDestItemFocus = 1 )
const ( SetModeInsert = 0 SetModeDelete = 1 )
const ( StackModeAbove = 0 StackModeBelow = 1 StackModeTopIf = 2 StackModeBottomIf = 3 StackModeOpposite = 4 )
const ( SubwindowModeClipByChildren = 0 SubwindowModeIncludeInferiors = 1 )
const ( VisibilityUnobscured = 0 VisibilityPartiallyObscured = 1 VisibilityFullyObscured = 2 )
const ( VisualClassStaticGray = 0 VisualClassGrayScale = 1 VisualClassStaticColor = 2 VisualClassPseudoColor = 3 VisualClassTrueColor = 4 VisualClassDirectColor = 5 )
const ( WindowClassCopyFromParent = 0 WindowClassInputOutput = 1 WindowClassInputOnly = 2 )
const BadAccess = 10
BadAccess is the error number for a BadAccess.
const BadAlloc = 11
BadAlloc is the error number for a BadAlloc.
const BadAtom = 5
BadAtom is the error number for a BadAtom.
const BadColormap = 12
BadColormap is the error number for a BadColormap.
const BadCursor = 6
BadCursor is the error number for a BadCursor.
const BadDrawable = 9
BadDrawable is the error number for a BadDrawable.
const BadFont = 7
BadFont is the error number for a BadFont.
const BadGContext = 13
BadGContext is the error number for a BadGContext.
const BadIDChoice = 14
BadIDChoice is the error number for a BadIDChoice.
const BadImplementation = 17
BadImplementation is the error number for a BadImplementation.
const BadLength = 16
BadLength is the error number for a BadLength.
const BadMatch = 8
BadMatch is the error number for a BadMatch.
const BadName = 15
BadName is the error number for a BadName.
const BadPixmap = 4
BadPixmap is the error number for a BadPixmap.
const BadRequest = 1
BadRequest is the error number for a BadRequest.
const BadValue = 2
BadValue is the error number for a BadValue.
const BadWindow = 3
BadWindow is the error number for a BadWindow.
const ButtonPress = 4
ButtonPress is the event number for a ButtonPressEvent.
const ButtonRelease = 5
ButtonRelease is the event number for a ButtonReleaseEvent.
const CirculateNotify = 26
CirculateNotify is the event number for a CirculateNotifyEvent.
const CirculateRequest = 27
CirculateRequest is the event number for a CirculateRequestEvent.
const ClientMessage = 33
ClientMessage is the event number for a ClientMessageEvent.
const (
ColormapNone = 0
)
const ColormapNotify = 32
ColormapNotify is the event number for a ColormapNotifyEvent.
const ConfigureNotify = 22
ConfigureNotify is the event number for a ConfigureNotifyEvent.
const ConfigureRequest = 23
ConfigureRequest is the event number for a ConfigureRequestEvent.
const CreateNotify = 16
CreateNotify is the event number for a CreateNotifyEvent.
const (
CursorNone = 0
)
const DestroyNotify = 17
DestroyNotify is the event number for a DestroyNotifyEvent.
const EnterNotify = 7
EnterNotify is the event number for a EnterNotifyEvent.
const Expose = 12
Expose is the event number for a ExposeEvent.
const FocusIn = 9
FocusIn is the event number for a FocusInEvent.
const FocusOut = 10
FocusOut is the event number for a FocusOutEvent.
const (
FontNone = 0
)
const GeGeneric = 35
GeGeneric is the event number for a GeGenericEvent.
const (
GetPropertyTypeAny = 0
)
const (
GrabAny = 0
)
const GraphicsExposure = 13
GraphicsExposure is the event number for a GraphicsExposureEvent.
const GravityNotify = 24
GravityNotify is the event number for a GravityNotifyEvent.
const KeyPress = 2
KeyPress is the event number for a KeyPressEvent.
const KeyRelease = 3
KeyRelease is the event number for a KeyReleaseEvent.
const KeymapNotify = 11
KeymapNotify is the event number for a KeymapNotifyEvent.
const (
KillAllTemporary = 0
)
const LeaveNotify = 8
LeaveNotify is the event number for a LeaveNotifyEvent.
const MapNotify = 19
MapNotify is the event number for a MapNotifyEvent.
const MapRequest = 20
MapRequest is the event number for a MapRequestEvent.
const MappingNotify = 34
MappingNotify is the event number for a MappingNotifyEvent.
const MotionNotify = 6
MotionNotify is the event number for a MotionNotifyEvent.
const NoExposure = 14
NoExposure is the event number for a NoExposureEvent.
const (
PixmapNone = 0
)
const PropertyNotify = 28
PropertyNotify is the event number for a PropertyNotifyEvent.
const ReparentNotify = 21
ReparentNotify is the event number for a ReparentNotifyEvent.
const ResizeRequest = 25
ResizeRequest is the event number for a ResizeRequestEvent.
const SelectionClear = 29
SelectionClear is the event number for a SelectionClearEvent.
const SelectionNotify = 31
SelectionNotify is the event number for a SelectionNotifyEvent.
const SelectionRequest = 30
SelectionRequest is the event number for a SelectionRequestEvent.
const (
TimeCurrentTime = 0
)
const UnmapNotify = 18
UnmapNotify is the event number for a UnmapNotifyEvent.
const VisibilityNotify = 15
VisibilityNotify is the event number for a VisibilityNotifyEvent.
const (
WindowNone = 0
)
Variables ¶
This section is empty.
Functions ¶
func AllocColorCellsUnchecked ¶
func AllocColorCellsUnchecked(c *xgb.XConn, Contiguous bool, Cmap Colormap, Colors uint16, Planes uint16) error
AllocColorCellsUnchecked sends an unchecked request.
func AllocColorPlanesUnchecked ¶
func AllocColorPlanesUnchecked(c *xgb.XConn, Contiguous bool, Cmap Colormap, Colors uint16, Reds uint16, Greens uint16, Blues uint16) error
AllocColorPlanesUnchecked sends an unchecked request.
func AllocColorUnchecked ¶
AllocColorUnchecked sends an unchecked request.
func AllocNamedColorUnchecked ¶
AllocNamedColorUnchecked sends an unchecked request.
func AllowEvents ¶
AllowEvents sends a checked request.
func AllowEventsUnchecked ¶ added in v1.1.0
AllowEventsUnchecked sends an unchecked request.
func ArcListBytes ¶
ArcListBytes writes a list of Arc values to a byte slice.
func ArcReadList ¶
ArcReadList reads a byte slice into a list of Arc values.
func BellUnchecked ¶ added in v1.1.0
BellUnchecked sends an unchecked request.
func ChangeActivePointerGrab ¶
ChangeActivePointerGrab sends a checked request.
func ChangeActivePointerGrabUnchecked ¶ added in v1.1.0
func ChangeActivePointerGrabUnchecked(c *xgb.XConn, Cursor Cursor, Time Timestamp, EventMask uint16) error
ChangeActivePointerGrabUnchecked sends an unchecked request.
func ChangeGCUnchecked ¶ added in v1.1.0
ChangeGCUnchecked sends an unchecked request.
func ChangeHosts ¶
ChangeHosts sends a checked request.
func ChangeHostsUnchecked ¶ added in v1.1.0
func ChangeHostsUnchecked(c *xgb.XConn, Mode byte, Family byte, AddressLen uint16, Address []byte) error
ChangeHostsUnchecked sends an unchecked request.
func ChangeKeyboardControl ¶
ChangeKeyboardControl sends a checked request.
func ChangeKeyboardControlUnchecked ¶ added in v1.1.0
ChangeKeyboardControlUnchecked sends an unchecked request.
func ChangeKeyboardMapping ¶
func ChangeKeyboardMapping(c *xgb.XConn, KeycodeCount byte, FirstKeycode Keycode, KeysymsPerKeycode byte, Keysyms []Keysym) error
ChangeKeyboardMapping sends a checked request.
func ChangeKeyboardMappingUnchecked ¶ added in v1.1.0
func ChangeKeyboardMappingUnchecked(c *xgb.XConn, KeycodeCount byte, FirstKeycode Keycode, KeysymsPerKeycode byte, Keysyms []Keysym) error
ChangeKeyboardMappingUnchecked sends an unchecked request.
func ChangePointerControl ¶
func ChangePointerControl(c *xgb.XConn, AccelerationNumerator int16, AccelerationDenominator int16, Threshold int16, DoAcceleration bool, DoThreshold bool) error
ChangePointerControl sends a checked request.
func ChangePointerControlUnchecked ¶ added in v1.1.0
func ChangePointerControlUnchecked(c *xgb.XConn, AccelerationNumerator int16, AccelerationDenominator int16, Threshold int16, DoAcceleration bool, DoThreshold bool) error
ChangePointerControlUnchecked sends an unchecked request.
func ChangeProperty ¶
func ChangeProperty(c *xgb.XConn, Mode byte, Window Window, Property Atom, Type Atom, Format byte, DataLen uint32, Data []byte) error
ChangeProperty sends a checked request.
func ChangePropertyUnchecked ¶ added in v1.1.0
func ChangePropertyUnchecked(c *xgb.XConn, Mode byte, Window Window, Property Atom, Type Atom, Format byte, DataLen uint32, Data []byte) error
ChangePropertyUnchecked sends an unchecked request.
func ChangeSaveSet ¶
ChangeSaveSet sends a checked request.
func ChangeSaveSetUnchecked ¶ added in v1.1.0
ChangeSaveSetUnchecked sends an unchecked request.
func ChangeWindowAttributes ¶
func ChangeWindowAttributes(c *xgb.XConn, Window Window, ValueMask uint32, ValueList []uint32) error
ChangeWindowAttributes sends a checked request.
func ChangeWindowAttributesUnchecked ¶ added in v1.1.0
func ChangeWindowAttributesUnchecked(c *xgb.XConn, Window Window, ValueMask uint32, ValueList []uint32) error
ChangeWindowAttributesUnchecked sends an unchecked request.
func Char2bListBytes ¶
Char2bListBytes writes a list of Char2b values to a byte slice.
func Char2bRead ¶
Char2bRead reads a byte slice into a Char2b value.
func Char2bReadList ¶
Char2bReadList reads a byte slice into a list of Char2b values.
func CharinfoListBytes ¶
CharinfoListBytes writes a list of Charinfo values to a byte slice.
func CharinfoRead ¶
CharinfoRead reads a byte slice into a Charinfo value.
func CharinfoReadList ¶
CharinfoReadList reads a byte slice into a list of Charinfo values.
func CirculateWindow ¶
CirculateWindow sends a checked request.
func CirculateWindowUnchecked ¶ added in v1.1.0
CirculateWindowUnchecked sends an unchecked request.
func ClearArea ¶
func ClearArea(c *xgb.XConn, Exposures bool, Window Window, X int16, Y int16, Width uint16, Height uint16) error
ClearArea sends a checked request.
func ClearAreaUnchecked ¶ added in v1.1.0
func ClearAreaUnchecked(c *xgb.XConn, Exposures bool, Window Window, X int16, Y int16, Width uint16, Height uint16) error
ClearAreaUnchecked sends an unchecked request.
func ClientMessageDataUnionListBytes ¶
func ClientMessageDataUnionListBytes(buf []byte, list []ClientMessageDataUnion) int
ClientMessageDataUnionListBytes writes a list of ClientMessageDataUnion values to a byte slice.
func ClientMessageDataUnionRead ¶
func ClientMessageDataUnionRead(buf []byte, v *ClientMessageDataUnion) int
ClientMessageDataUnionRead reads a byte slice into a ClientMessageDataUnion value.
func ClientMessageDataUnionReadList ¶
func ClientMessageDataUnionReadList(buf []byte, dest []ClientMessageDataUnion) int
ClientMessageDataUnionReadList reads a byte slice into a list of ClientMessageDataUnion values.
func CloseFontUnchecked ¶ added in v1.1.0
CloseFontUnchecked sends an unchecked request.
func ColoritemListBytes ¶
ColoritemListBytes writes a list of Coloritem values to a byte slice.
func ColoritemRead ¶
ColoritemRead reads a byte slice into a Coloritem value.
func ColoritemReadList ¶
ColoritemReadList reads a byte slice into a list of Coloritem values.
func ConfigureWindow ¶
ConfigureWindow sends a checked request.
func ConfigureWindowUnchecked ¶ added in v1.1.0
func ConfigureWindowUnchecked(c *xgb.XConn, Window Window, ValueMask uint16, ValueList []uint32) error
ConfigureWindowUnchecked sends an unchecked request.
func ConvertSelection ¶
func ConvertSelection(c *xgb.XConn, Requestor Window, Selection Atom, Target Atom, Property Atom, Time Timestamp) error
ConvertSelection sends a checked request.
func ConvertSelectionUnchecked ¶ added in v1.1.0
func ConvertSelectionUnchecked(c *xgb.XConn, Requestor Window, Selection Atom, Target Atom, Property Atom, Time Timestamp) error
ConvertSelectionUnchecked sends an unchecked request.
func CopyArea ¶
func CopyArea(c *xgb.XConn, SrcDrawable Drawable, DstDrawable Drawable, Gc Gcontext, SrcX int16, SrcY int16, DstX int16, DstY int16, Width uint16, Height uint16) error
CopyArea sends a checked request.
func CopyAreaUnchecked ¶ added in v1.1.0
func CopyAreaUnchecked(c *xgb.XConn, SrcDrawable Drawable, DstDrawable Drawable, Gc Gcontext, SrcX int16, SrcY int16, DstX int16, DstY int16, Width uint16, Height uint16) error
CopyAreaUnchecked sends an unchecked request.
func CopyColormapAndFree ¶
CopyColormapAndFree sends a checked request.
func CopyColormapAndFreeUnchecked ¶ added in v1.1.0
CopyColormapAndFreeUnchecked sends an unchecked request.
func CopyGCUnchecked ¶ added in v1.1.0
CopyGCUnchecked sends an unchecked request.
func CopyPlane ¶
func CopyPlane(c *xgb.XConn, SrcDrawable Drawable, DstDrawable Drawable, Gc Gcontext, SrcX int16, SrcY int16, DstX int16, DstY int16, Width uint16, Height uint16, BitPlane uint32) error
CopyPlane sends a checked request.
func CopyPlaneUnchecked ¶ added in v1.1.0
func CopyPlaneUnchecked(c *xgb.XConn, SrcDrawable Drawable, DstDrawable Drawable, Gc Gcontext, SrcX int16, SrcY int16, DstX int16, DstY int16, Width uint16, Height uint16, BitPlane uint32) error
CopyPlaneUnchecked sends an unchecked request.
func CreateColormap ¶
CreateColormap sends a checked request.
func CreateColormapUnchecked ¶ added in v1.1.0
func CreateColormapUnchecked(c *xgb.XConn, Alloc byte, Mid Colormap, Window Window, Visual Visualid) error
CreateColormapUnchecked sends an unchecked request.
func CreateCursor ¶
func CreateCursor(c *xgb.XConn, Cid Cursor, Source Pixmap, Mask Pixmap, ForeRed uint16, ForeGreen uint16, ForeBlue uint16, BackRed uint16, BackGreen uint16, BackBlue uint16, X uint16, Y uint16) error
CreateCursor sends a checked request.
func CreateCursorUnchecked ¶ added in v1.1.0
func CreateCursorUnchecked(c *xgb.XConn, Cid Cursor, Source Pixmap, Mask Pixmap, ForeRed uint16, ForeGreen uint16, ForeBlue uint16, BackRed uint16, BackGreen uint16, BackBlue uint16, X uint16, Y uint16) error
CreateCursorUnchecked sends an unchecked request.
func CreateGC ¶
func CreateGC(c *xgb.XConn, Cid Gcontext, Drawable Drawable, ValueMask uint32, ValueList []uint32) error
CreateGC sends a checked request.
func CreateGCUnchecked ¶ added in v1.1.0
func CreateGCUnchecked(c *xgb.XConn, Cid Gcontext, Drawable Drawable, ValueMask uint32, ValueList []uint32) error
CreateGCUnchecked sends an unchecked request.
func CreateGlyphCursor ¶
func CreateGlyphCursor(c *xgb.XConn, Cid Cursor, SourceFont Font, MaskFont Font, SourceChar uint16, MaskChar uint16, ForeRed uint16, ForeGreen uint16, ForeBlue uint16, BackRed uint16, BackGreen uint16, BackBlue uint16) error
CreateGlyphCursor sends a checked request.
func CreateGlyphCursorUnchecked ¶ added in v1.1.0
func CreateGlyphCursorUnchecked(c *xgb.XConn, Cid Cursor, SourceFont Font, MaskFont Font, SourceChar uint16, MaskChar uint16, ForeRed uint16, ForeGreen uint16, ForeBlue uint16, BackRed uint16, BackGreen uint16, BackBlue uint16) error
CreateGlyphCursorUnchecked sends an unchecked request.
func CreatePixmap ¶
func CreatePixmap(c *xgb.XConn, Depth byte, Pid Pixmap, Drawable Drawable, Width uint16, Height uint16) error
CreatePixmap sends a checked request.
func CreatePixmapUnchecked ¶ added in v1.1.0
func CreatePixmapUnchecked(c *xgb.XConn, Depth byte, Pid Pixmap, Drawable Drawable, Width uint16, Height uint16) error
CreatePixmapUnchecked sends an unchecked request.
func CreateWindow ¶
func CreateWindow(c *xgb.XConn, Depth byte, Wid Window, Parent Window, X int16, Y int16, Width uint16, Height uint16, BorderWidth uint16, Class uint16, Visual Visualid, ValueMask uint32, ValueList []uint32) error
CreateWindow sends a checked request.
func CreateWindowUnchecked ¶ added in v1.1.0
func CreateWindowUnchecked(c *xgb.XConn, Depth byte, Wid Window, Parent Window, X int16, Y int16, Width uint16, Height uint16, BorderWidth uint16, Class uint16, Visual Visualid, ValueMask uint32, ValueList []uint32) error
CreateWindowUnchecked sends an unchecked request.
func DeleteProperty ¶
DeleteProperty sends a checked request.
func DeletePropertyUnchecked ¶ added in v1.1.0
DeletePropertyUnchecked sends an unchecked request.
func DepthInfoListBytes ¶
DepthInfoListBytes writes a list of DepthInfo values to a byte slice.
func DepthInfoListSize ¶
DepthInfoListSize computes the size (bytes) of a list of DepthInfo values.
func DepthInfoRead ¶
DepthInfoRead reads a byte slice into a DepthInfo value.
func DepthInfoReadList ¶
DepthInfoReadList reads a byte slice into a list of DepthInfo values.
func DestroySubwindows ¶
DestroySubwindows sends a checked request.
func DestroySubwindowsUnchecked ¶ added in v1.1.0
DestroySubwindowsUnchecked sends an unchecked request.
func DestroyWindow ¶
DestroyWindow sends a checked request.
func DestroyWindowUnchecked ¶ added in v1.1.0
DestroyWindowUnchecked sends an unchecked request.
func FillPoly ¶
func FillPoly(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Shape byte, CoordinateMode byte, Points []Point) error
FillPoly sends a checked request.
func FillPolyUnchecked ¶ added in v1.1.0
func FillPolyUnchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Shape byte, CoordinateMode byte, Points []Point) error
FillPolyUnchecked sends an unchecked request.
func FontpropListBytes ¶
FontpropListBytes writes a list of Fontprop values to a byte slice.
func FontpropRead ¶
FontpropRead reads a byte slice into a Fontprop value.
func FontpropReadList ¶
FontpropReadList reads a byte slice into a list of Fontprop values.
func ForceScreenSaver ¶
ForceScreenSaver sends a checked request.
func ForceScreenSaverUnchecked ¶ added in v1.1.0
ForceScreenSaverUnchecked sends an unchecked request.
func FormatListBytes ¶
FormatListBytes writes a list of Format values to a byte slice.
func FormatRead ¶
FormatRead reads a byte slice into a Format value.
func FormatReadList ¶
FormatReadList reads a byte slice into a list of Format values.
func FreeColormap ¶
FreeColormap sends a checked request.
func FreeColormapUnchecked ¶ added in v1.1.0
FreeColormapUnchecked sends an unchecked request.
func FreeColors ¶
FreeColors sends a checked request.
func FreeColorsUnchecked ¶ added in v1.1.0
FreeColorsUnchecked sends an unchecked request.
func FreeCursor ¶
FreeCursor sends a checked request.
func FreeCursorUnchecked ¶ added in v1.1.0
FreeCursorUnchecked sends an unchecked request.
func FreeGCUnchecked ¶ added in v1.1.0
FreeGCUnchecked sends an unchecked request.
func FreePixmap ¶
FreePixmap sends a checked request.
func FreePixmapUnchecked ¶ added in v1.1.0
FreePixmapUnchecked sends an unchecked request.
func GetAtomNameUnchecked ¶
GetAtomNameUnchecked sends an unchecked request.
func GetFontPathUnchecked ¶
func GetFontPathUnchecked(c *xgb.XConn) error
GetFontPathUnchecked sends an unchecked request.
func GetGeometryUnchecked ¶
GetGeometryUnchecked sends an unchecked request.
func GetImageUnchecked ¶
func GetImageUnchecked(c *xgb.XConn, Format byte, Drawable Drawable, X int16, Y int16, Width uint16, Height uint16, PlaneMask uint32) error
GetImageUnchecked sends an unchecked request.
func GetInputFocusUnchecked ¶
func GetInputFocusUnchecked(c *xgb.XConn) error
GetInputFocusUnchecked sends an unchecked request.
func GetKeyboardControlUnchecked ¶
func GetKeyboardControlUnchecked(c *xgb.XConn) error
GetKeyboardControlUnchecked sends an unchecked request.
func GetKeyboardMappingUnchecked ¶
GetKeyboardMappingUnchecked sends an unchecked request.
func GetModifierMappingUnchecked ¶
func GetModifierMappingUnchecked(c *xgb.XConn) error
GetModifierMappingUnchecked sends an unchecked request.
func GetMotionEventsUnchecked ¶
GetMotionEventsUnchecked sends an unchecked request.
func GetPointerControlUnchecked ¶
func GetPointerControlUnchecked(c *xgb.XConn) error
GetPointerControlUnchecked sends an unchecked request.
func GetPointerMappingUnchecked ¶
func GetPointerMappingUnchecked(c *xgb.XConn) error
GetPointerMappingUnchecked sends an unchecked request.
func GetPropertyUnchecked ¶
func GetPropertyUnchecked(c *xgb.XConn, Delete bool, Window Window, Property Atom, Type Atom, LongOffset uint32, LongLength uint32) error
GetPropertyUnchecked sends an unchecked request.
func GetScreenSaverUnchecked ¶
func GetScreenSaverUnchecked(c *xgb.XConn) error
GetScreenSaverUnchecked sends an unchecked request.
func GetSelectionOwnerUnchecked ¶
GetSelectionOwnerUnchecked sends an unchecked request.
func GetWindowAttributesUnchecked ¶
GetWindowAttributesUnchecked sends an unchecked request.
func GrabButton ¶
func GrabButton(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, EventMask uint16, PointerMode byte, KeyboardMode byte, ConfineTo Window, Cursor Cursor, Button byte, Modifiers uint16) error
GrabButton sends a checked request.
func GrabButtonUnchecked ¶ added in v1.1.0
func GrabButtonUnchecked(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, EventMask uint16, PointerMode byte, KeyboardMode byte, ConfineTo Window, Cursor Cursor, Button byte, Modifiers uint16) error
GrabButtonUnchecked sends an unchecked request.
func GrabKey ¶
func GrabKey(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, Modifiers uint16, Key Keycode, PointerMode byte, KeyboardMode byte) error
GrabKey sends a checked request.
func GrabKeyUnchecked ¶ added in v1.1.0
func GrabKeyUnchecked(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, Modifiers uint16, Key Keycode, PointerMode byte, KeyboardMode byte) error
GrabKeyUnchecked sends an unchecked request.
func GrabKeyboardUnchecked ¶
func GrabKeyboardUnchecked(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, Time Timestamp, PointerMode byte, KeyboardMode byte) error
GrabKeyboardUnchecked sends an unchecked request.
func GrabPointerUnchecked ¶
func GrabPointerUnchecked(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, EventMask uint16, PointerMode byte, KeyboardMode byte, ConfineTo Window, Cursor Cursor, Time Timestamp) error
GrabPointerUnchecked sends an unchecked request.
func GrabServerUnchecked ¶ added in v1.1.0
func GrabServerUnchecked(c *xgb.XConn) error
GrabServerUnchecked sends an unchecked request.
func HostListBytes ¶
HostListBytes writes a list of Host values to a byte slice.
func HostListSize ¶
HostListSize computes the size (bytes) of a list of Host values.
func HostReadList ¶
HostReadList reads a byte slice into a list of Host values.
func ImageText16 ¶
func ImageText16(c *xgb.XConn, StringLen byte, Drawable Drawable, Gc Gcontext, X int16, Y int16, String []Char2b) error
ImageText16 sends a checked request.
func ImageText16Unchecked ¶ added in v1.1.0
func ImageText16Unchecked(c *xgb.XConn, StringLen byte, Drawable Drawable, Gc Gcontext, X int16, Y int16, String []Char2b) error
ImageText16Unchecked sends an unchecked request.
func ImageText8 ¶
func ImageText8(c *xgb.XConn, StringLen byte, Drawable Drawable, Gc Gcontext, X int16, Y int16, String string) error
ImageText8 sends a checked request.
func ImageText8Unchecked ¶ added in v1.1.0
func ImageText8Unchecked(c *xgb.XConn, StringLen byte, Drawable Drawable, Gc Gcontext, X int16, Y int16, String string) error
ImageText8Unchecked sends an unchecked request.
func InstallColormap ¶
InstallColormap sends a checked request.
func InstallColormapUnchecked ¶ added in v1.1.0
InstallColormapUnchecked sends an unchecked request.
func InternAtomUnchecked ¶
InternAtomUnchecked sends an unchecked request.
func KillClient ¶
KillClient sends a checked request.
func KillClientUnchecked ¶ added in v1.1.0
KillClientUnchecked sends an unchecked request.
func ListExtensionsUnchecked ¶
func ListExtensionsUnchecked(c *xgb.XConn) error
ListExtensionsUnchecked sends an unchecked request.
func ListFontsUnchecked ¶
ListFontsUnchecked sends an unchecked request.
func ListFontsWithInfoUnchecked ¶
func ListFontsWithInfoUnchecked(c *xgb.XConn, MaxNames uint16, PatternLen uint16, Pattern string) error
ListFontsWithInfoUnchecked sends an unchecked request.
func ListHostsUnchecked ¶
func ListHostsUnchecked(c *xgb.XConn) error
ListHostsUnchecked sends an unchecked request.
func ListInstalledColormapsUnchecked ¶
ListInstalledColormapsUnchecked sends an unchecked request.
func ListPropertiesUnchecked ¶
ListPropertiesUnchecked sends an unchecked request.
func LookupColorUnchecked ¶
LookupColorUnchecked sends an unchecked request.
func MapSubwindows ¶
MapSubwindows sends a checked request.
func MapSubwindowsUnchecked ¶ added in v1.1.0
MapSubwindowsUnchecked sends an unchecked request.
func MapWindowUnchecked ¶ added in v1.1.0
MapWindowUnchecked sends an unchecked request.
func NoOperationUnchecked ¶ added in v1.1.0
func NoOperationUnchecked(c *xgb.XConn) error
NoOperationUnchecked sends an unchecked request.
func OpenFontUnchecked ¶ added in v1.1.0
OpenFontUnchecked sends an unchecked request.
func PointListBytes ¶
PointListBytes writes a list of Point values to a byte slice.
func PointReadList ¶
PointReadList reads a byte slice into a list of Point values.
func PolyArcUnchecked ¶ added in v1.1.0
PolyArcUnchecked sends an unchecked request.
func PolyFillArc ¶
PolyFillArc sends a checked request.
func PolyFillArcUnchecked ¶ added in v1.1.0
PolyFillArcUnchecked sends an unchecked request.
func PolyFillRectangle ¶
PolyFillRectangle sends a checked request.
func PolyFillRectangleUnchecked ¶ added in v1.1.0
func PolyFillRectangleUnchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Rectangles []Rectangle) error
PolyFillRectangleUnchecked sends an unchecked request.
func PolyLine ¶
func PolyLine(c *xgb.XConn, CoordinateMode byte, Drawable Drawable, Gc Gcontext, Points []Point) error
PolyLine sends a checked request.
func PolyLineUnchecked ¶ added in v1.1.0
func PolyLineUnchecked(c *xgb.XConn, CoordinateMode byte, Drawable Drawable, Gc Gcontext, Points []Point) error
PolyLineUnchecked sends an unchecked request.
func PolyPoint ¶
func PolyPoint(c *xgb.XConn, CoordinateMode byte, Drawable Drawable, Gc Gcontext, Points []Point) error
PolyPoint sends a checked request.
func PolyPointUnchecked ¶ added in v1.1.0
func PolyPointUnchecked(c *xgb.XConn, CoordinateMode byte, Drawable Drawable, Gc Gcontext, Points []Point) error
PolyPointUnchecked sends an unchecked request.
func PolyRectangle ¶
PolyRectangle sends a checked request.
func PolyRectangleUnchecked ¶ added in v1.1.0
func PolyRectangleUnchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, Rectangles []Rectangle) error
PolyRectangleUnchecked sends an unchecked request.
func PolySegment ¶
PolySegment sends a checked request.
func PolySegmentUnchecked ¶ added in v1.1.0
PolySegmentUnchecked sends an unchecked request.
func PolyText16 ¶
PolyText16 sends a checked request.
func PolyText16Unchecked ¶ added in v1.1.0
func PolyText16Unchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, X int16, Y int16, Items []byte) error
PolyText16Unchecked sends an unchecked request.
func PolyText8Unchecked ¶ added in v1.1.0
func PolyText8Unchecked(c *xgb.XConn, Drawable Drawable, Gc Gcontext, X int16, Y int16, Items []byte) error
PolyText8Unchecked sends an unchecked request.
func PutImage ¶
func PutImage(c *xgb.XConn, Format byte, Drawable Drawable, Gc Gcontext, Width uint16, Height uint16, DstX int16, DstY int16, LeftPad byte, Depth byte, Data []byte) error
PutImage sends a checked request.
func PutImageUnchecked ¶ added in v1.1.0
func PutImageUnchecked(c *xgb.XConn, Format byte, Drawable Drawable, Gc Gcontext, Width uint16, Height uint16, DstX int16, DstY int16, LeftPad byte, Depth byte, Data []byte) error
PutImageUnchecked sends an unchecked request.
func QueryBestSizeUnchecked ¶
func QueryBestSizeUnchecked(c *xgb.XConn, Class byte, Drawable Drawable, Width uint16, Height uint16) error
QueryBestSizeUnchecked sends an unchecked request.
func QueryColorsUnchecked ¶
QueryColorsUnchecked sends an unchecked request.
func QueryExtensionUnchecked ¶
QueryExtensionUnchecked sends an unchecked request.
func QueryFontUnchecked ¶
QueryFontUnchecked sends an unchecked request.
func QueryKeymapUnchecked ¶
func QueryKeymapUnchecked(c *xgb.XConn) error
QueryKeymapUnchecked sends an unchecked request.
func QueryPointerUnchecked ¶
QueryPointerUnchecked sends an unchecked request.
func QueryTextExtentsUnchecked ¶
func QueryTextExtentsUnchecked(c *xgb.XConn, Font Fontable, String []Char2b, StringLen uint16) error
QueryTextExtentsUnchecked sends an unchecked request.
func QueryTreeUnchecked ¶
QueryTreeUnchecked sends an unchecked request.
func RecolorCursor ¶
func RecolorCursor(c *xgb.XConn, Cursor Cursor, ForeRed uint16, ForeGreen uint16, ForeBlue uint16, BackRed uint16, BackGreen uint16, BackBlue uint16) error
RecolorCursor sends a checked request.
func RecolorCursorUnchecked ¶ added in v1.1.0
func RecolorCursorUnchecked(c *xgb.XConn, Cursor Cursor, ForeRed uint16, ForeGreen uint16, ForeBlue uint16, BackRed uint16, BackGreen uint16, BackBlue uint16) error
RecolorCursorUnchecked sends an unchecked request.
func RectangleListBytes ¶
RectangleListBytes writes a list of Rectangle values to a byte slice.
func RectangleRead ¶
RectangleRead reads a byte slice into a Rectangle value.
func RectangleReadList ¶
RectangleReadList reads a byte slice into a list of Rectangle values.
func ReparentWindow ¶
ReparentWindow sends a checked request.
func ReparentWindowUnchecked ¶ added in v1.1.0
ReparentWindowUnchecked sends an unchecked request.
func RgbListBytes ¶
RgbListBytes writes a list of Rgb values to a byte slice.
func RgbReadList ¶
RgbReadList reads a byte slice into a list of Rgb values.
func RotateProperties ¶
func RotateProperties(c *xgb.XConn, Window Window, AtomsLen uint16, Delta int16, Atoms []Atom) error
RotateProperties sends a checked request.
func RotatePropertiesUnchecked ¶ added in v1.1.0
func RotatePropertiesUnchecked(c *xgb.XConn, Window Window, AtomsLen uint16, Delta int16, Atoms []Atom) error
RotatePropertiesUnchecked sends an unchecked request.
func ScreenInfoListBytes ¶
func ScreenInfoListBytes(buf []byte, list []ScreenInfo) int
ScreenInfoListBytes writes a list of ScreenInfo values to a byte slice.
func ScreenInfoListSize ¶
func ScreenInfoListSize(list []ScreenInfo) int
ScreenInfoListSize computes the size (bytes) of a list of ScreenInfo values.
func ScreenInfoRead ¶
func ScreenInfoRead(buf []byte, v *ScreenInfo) int
ScreenInfoRead reads a byte slice into a ScreenInfo value.
func ScreenInfoReadList ¶
func ScreenInfoReadList(buf []byte, dest []ScreenInfo) int
ScreenInfoReadList reads a byte slice into a list of ScreenInfo values.
func SegmentListBytes ¶
SegmentListBytes writes a list of Segment values to a byte slice.
func SegmentRead ¶
SegmentRead reads a byte slice into a Segment value.
func SegmentReadList ¶
SegmentReadList reads a byte slice into a list of Segment values.
func SendEvent ¶
func SendEvent(c *xgb.XConn, Propagate bool, Destination Window, EventMask uint32, Event string) error
SendEvent sends a checked request.
func SendEventUnchecked ¶ added in v1.1.0
func SendEventUnchecked(c *xgb.XConn, Propagate bool, Destination Window, EventMask uint32, Event string) error
SendEventUnchecked sends an unchecked request.
func SetAccessControl ¶
SetAccessControl sends a checked request.
func SetAccessControlUnchecked ¶ added in v1.1.0
SetAccessControlUnchecked sends an unchecked request.
func SetClipRectangles ¶
func SetClipRectangles(c *xgb.XConn, Ordering byte, Gc Gcontext, ClipXOrigin int16, ClipYOrigin int16, Rectangles []Rectangle) error
SetClipRectangles sends a checked request.
func SetClipRectanglesUnchecked ¶ added in v1.1.0
func SetClipRectanglesUnchecked(c *xgb.XConn, Ordering byte, Gc Gcontext, ClipXOrigin int16, ClipYOrigin int16, Rectangles []Rectangle) error
SetClipRectanglesUnchecked sends an unchecked request.
func SetCloseDownMode ¶
SetCloseDownMode sends a checked request.
func SetCloseDownModeUnchecked ¶ added in v1.1.0
SetCloseDownModeUnchecked sends an unchecked request.
func SetDashesUnchecked ¶ added in v1.1.0
func SetDashesUnchecked(c *xgb.XConn, Gc Gcontext, DashOffset uint16, DashesLen uint16, Dashes []byte) error
SetDashesUnchecked sends an unchecked request.
func SetFontPath ¶
SetFontPath sends a checked request.
func SetFontPathUnchecked ¶ added in v1.1.0
SetFontPathUnchecked sends an unchecked request.
func SetInputFocus ¶
SetInputFocus sends a checked request.
func SetInputFocusUnchecked ¶ added in v1.1.0
SetInputFocusUnchecked sends an unchecked request.
func SetModifierMappingUnchecked ¶
SetModifierMappingUnchecked sends an unchecked request.
func SetPointerMappingUnchecked ¶
SetPointerMappingUnchecked sends an unchecked request.
func SetScreenSaver ¶
func SetScreenSaver(c *xgb.XConn, Timeout int16, Interval int16, PreferBlanking byte, AllowExposures byte) error
SetScreenSaver sends a checked request.
func SetScreenSaverUnchecked ¶ added in v1.1.0
func SetScreenSaverUnchecked(c *xgb.XConn, Timeout int16, Interval int16, PreferBlanking byte, AllowExposures byte) error
SetScreenSaverUnchecked sends an unchecked request.
func SetSelectionOwner ¶
SetSelectionOwner sends a checked request.
func SetSelectionOwnerUnchecked ¶ added in v1.1.0
SetSelectionOwnerUnchecked sends an unchecked request.
func SetupAuthenticateListBytes ¶
func SetupAuthenticateListBytes(buf []byte, list []SetupAuthenticate) int
SetupAuthenticateListBytes writes a list of SetupAuthenticate values to a byte slice.
func SetupAuthenticateListSize ¶
func SetupAuthenticateListSize(list []SetupAuthenticate) int
SetupAuthenticateListSize computes the size (bytes) of a list of SetupAuthenticate values.
func SetupAuthenticateRead ¶
func SetupAuthenticateRead(buf []byte, v *SetupAuthenticate) int
SetupAuthenticateRead reads a byte slice into a SetupAuthenticate value.
func SetupAuthenticateReadList ¶
func SetupAuthenticateReadList(buf []byte, dest []SetupAuthenticate) int
SetupAuthenticateReadList reads a byte slice into a list of SetupAuthenticate values.
func SetupFailedListBytes ¶
func SetupFailedListBytes(buf []byte, list []SetupFailed) int
SetupFailedListBytes writes a list of SetupFailed values to a byte slice.
func SetupFailedListSize ¶
func SetupFailedListSize(list []SetupFailed) int
SetupFailedListSize computes the size (bytes) of a list of SetupFailed values.
func SetupFailedRead ¶
func SetupFailedRead(buf []byte, v *SetupFailed) int
SetupFailedRead reads a byte slice into a SetupFailed value.
func SetupFailedReadList ¶
func SetupFailedReadList(buf []byte, dest []SetupFailed) int
SetupFailedReadList reads a byte slice into a list of SetupFailed values.
func SetupInfoListBytes ¶
SetupInfoListBytes writes a list of SetupInfo values to a byte slice.
func SetupInfoListSize ¶
SetupInfoListSize computes the size (bytes) of a list of SetupInfo values.
func SetupInfoRead ¶
SetupInfoRead reads a byte slice into a SetupInfo value.
func SetupInfoReadList ¶
SetupInfoReadList reads a byte slice into a list of SetupInfo values.
func SetupRequestListBytes ¶
func SetupRequestListBytes(buf []byte, list []SetupRequest) int
SetupRequestListBytes writes a list of SetupRequest values to a byte slice.
func SetupRequestListSize ¶
func SetupRequestListSize(list []SetupRequest) int
SetupRequestListSize computes the size (bytes) of a list of SetupRequest values.
func SetupRequestRead ¶
func SetupRequestRead(buf []byte, v *SetupRequest) int
SetupRequestRead reads a byte slice into a SetupRequest value.
func SetupRequestReadList ¶
func SetupRequestReadList(buf []byte, dest []SetupRequest) int
SetupRequestReadList reads a byte slice into a list of SetupRequest values.
func StoreColors ¶
StoreColors sends a checked request.
func StoreColorsUnchecked ¶ added in v1.1.0
StoreColorsUnchecked sends an unchecked request.
func StoreNamedColor ¶
func StoreNamedColor(c *xgb.XConn, Flags byte, Cmap Colormap, Pixel uint32, NameLen uint16, Name string) error
StoreNamedColor sends a checked request.
func StoreNamedColorUnchecked ¶ added in v1.1.0
func StoreNamedColorUnchecked(c *xgb.XConn, Flags byte, Cmap Colormap, Pixel uint32, NameLen uint16, Name string) error
StoreNamedColorUnchecked sends an unchecked request.
func StrListBytes ¶
StrListBytes writes a list of Str values to a byte slice.
func StrListSize ¶
StrListSize computes the size (bytes) of a list of Str values.
func StrReadList ¶
StrReadList reads a byte slice into a list of Str values.
func TimecoordListBytes ¶
TimecoordListBytes writes a list of Timecoord values to a byte slice.
func TimecoordRead ¶
TimecoordRead reads a byte slice into a Timecoord value.
func TimecoordReadList ¶
TimecoordReadList reads a byte slice into a list of Timecoord values.
func TranslateCoordinatesUnchecked ¶
func TranslateCoordinatesUnchecked(c *xgb.XConn, SrcWindow Window, DstWindow Window, SrcX int16, SrcY int16) error
TranslateCoordinatesUnchecked sends an unchecked request.
func UngrabButton ¶
UngrabButton sends a checked request.
func UngrabButtonUnchecked ¶ added in v1.1.0
UngrabButtonUnchecked sends an unchecked request.
func UngrabKeyUnchecked ¶ added in v1.1.0
UngrabKeyUnchecked sends an unchecked request.
func UngrabKeyboard ¶
UngrabKeyboard sends a checked request.
func UngrabKeyboardUnchecked ¶ added in v1.1.0
UngrabKeyboardUnchecked sends an unchecked request.
func UngrabPointer ¶
UngrabPointer sends a checked request.
func UngrabPointerUnchecked ¶ added in v1.1.0
UngrabPointerUnchecked sends an unchecked request.
func UngrabServerUnchecked ¶ added in v1.1.0
func UngrabServerUnchecked(c *xgb.XConn) error
UngrabServerUnchecked sends an unchecked request.
func UninstallColormap ¶
UninstallColormap sends a checked request.
func UninstallColormapUnchecked ¶ added in v1.1.0
UninstallColormapUnchecked sends an unchecked request.
func UnmapSubwindows ¶
UnmapSubwindows sends a checked request.
func UnmapSubwindowsUnchecked ¶ added in v1.1.0
UnmapSubwindowsUnchecked sends an unchecked request.
func UnmapWindow ¶
UnmapWindow sends a checked request.
func UnmapWindowUnchecked ¶ added in v1.1.0
UnmapWindowUnchecked sends an unchecked request.
func UnmarshalAccessError ¶ added in v1.1.0
AccessErrorNew constructs a AccessError value that implements xgb.Error from a byte slice.
func UnmarshalAllocError ¶ added in v1.1.0
AllocErrorNew constructs a AllocError value that implements xgb.Error from a byte slice.
func UnmarshalAtomError ¶ added in v1.1.0
AtomErrorNew constructs a AtomError value that implements xgb.Error from a byte slice.
func UnmarshalButtonPressEvent ¶ added in v1.1.0
UnmarshalButtonPressEvent constructs a ButtonPressEvent value that implements xgb.Event from a byte slice.
func UnmarshalButtonReleaseEvent ¶ added in v1.1.0
ButtonReleaseEventNew constructs a ButtonReleaseEvent value that implements xgb.Event from a byte slice.
func UnmarshalCirculateNotifyEvent ¶ added in v1.1.0
UnmarshalCirculateNotifyEvent constructs a CirculateNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalCirculateRequestEvent ¶ added in v1.1.0
CirculateRequestEventNew constructs a CirculateRequestEvent value that implements xgb.Event from a byte slice.
func UnmarshalClientMessageEvent ¶ added in v1.1.0
UnmarshalClientMessageEvent constructs a ClientMessageEvent value that implements xgb.Event from a byte slice.
func UnmarshalColormapError ¶ added in v1.1.0
ColormapErrorNew constructs a ColormapError value that implements xgb.Error from a byte slice.
func UnmarshalColormapNotifyEvent ¶ added in v1.1.0
UnmarshalColormapNotifyEvent constructs a ColormapNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalConfigureNotifyEvent ¶ added in v1.1.0
UnmarshalConfigureNotifyEvent constructs a ConfigureNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalConfigureRequestEvent ¶ added in v1.1.0
UnmarshalConfigureRequestEvent constructs a ConfigureRequestEvent value that implements xgb.Event from a byte slice.
func UnmarshalCreateNotifyEvent ¶ added in v1.1.0
UnmarshalCreateNotifyEvent constructs a CreateNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalCursorError ¶ added in v1.1.0
CursorErrorNew constructs a CursorError value that implements xgb.Error from a byte slice.
func UnmarshalDestroyNotifyEvent ¶ added in v1.1.0
UnmarshalDestroyNotifyEvent constructs a DestroyNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalDrawableError ¶ added in v1.1.0
DrawableErrorNew constructs a DrawableError value that implements xgb.Error from a byte slice.
func UnmarshalEnterNotifyEvent ¶ added in v1.1.0
UnmarshalEnterNotifyEvent constructs a EnterNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalExposeEvent ¶ added in v1.1.0
UnmarshalExposeEvent constructs a ExposeEvent value that implements xgb.Event from a byte slice.
func UnmarshalFocusInEvent ¶ added in v1.1.0
UnmarshalFocusInEvent constructs a FocusInEvent value that implements xgb.Event from a byte slice.
func UnmarshalFocusOutEvent ¶ added in v1.1.0
FocusOutEventNew constructs a FocusOutEvent value that implements xgb.Event from a byte slice.
func UnmarshalFontError ¶ added in v1.1.0
FontErrorNew constructs a FontError value that implements xgb.Error from a byte slice.
func UnmarshalGContextError ¶ added in v1.1.0
GContextErrorNew constructs a GContextError value that implements xgb.Error from a byte slice.
func UnmarshalGeGenericEvent ¶ added in v1.1.0
UnmarshalGeGenericEvent constructs a GeGenericEvent value that implements xgb.Event from a byte slice.
func UnmarshalGraphicsExposureEvent ¶ added in v1.1.0
UnmarshalGraphicsExposureEvent constructs a GraphicsExposureEvent value that implements xgb.Event from a byte slice.
func UnmarshalGravityNotifyEvent ¶ added in v1.1.0
UnmarshalGravityNotifyEvent constructs a GravityNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalIDChoiceError ¶ added in v1.1.0
IDChoiceErrorNew constructs a IDChoiceError value that implements xgb.Error from a byte slice.
func UnmarshalImplementationError ¶ added in v1.1.0
ImplementationErrorNew constructs a ImplementationError value that implements xgb.Error from a byte slice.
func UnmarshalKeyPressEvent ¶ added in v1.1.0
UnmarshalKeyPressEvent constructs a KeyPressEvent value that implements xgb.Event from a byte slice.
func UnmarshalKeyReleaseEvent ¶ added in v1.1.0
KeyReleaseEventNew constructs a KeyReleaseEvent value that implements xgb.Event from a byte slice.
func UnmarshalKeymapNotifyEvent ¶ added in v1.1.0
UnmarshalKeymapNotifyEvent constructs a KeymapNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalLeaveNotifyEvent ¶ added in v1.1.0
LeaveNotifyEventNew constructs a LeaveNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalLengthError ¶ added in v1.1.0
LengthErrorNew constructs a LengthError value that implements xgb.Error from a byte slice.
func UnmarshalMapNotifyEvent ¶ added in v1.1.0
UnmarshalMapNotifyEvent constructs a MapNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalMapRequestEvent ¶ added in v1.1.0
UnmarshalMapRequestEvent constructs a MapRequestEvent value that implements xgb.Event from a byte slice.
func UnmarshalMappingNotifyEvent ¶ added in v1.1.0
UnmarshalMappingNotifyEvent constructs a MappingNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalMatchError ¶ added in v1.1.0
MatchErrorNew constructs a MatchError value that implements xgb.Error from a byte slice.
func UnmarshalMotionNotifyEvent ¶ added in v1.1.0
UnmarshalMotionNotifyEvent constructs a MotionNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalNameError ¶ added in v1.1.0
NameErrorNew constructs a NameError value that implements xgb.Error from a byte slice.
func UnmarshalNoExposureEvent ¶ added in v1.1.0
UnmarshalNoExposureEvent constructs a NoExposureEvent value that implements xgb.Event from a byte slice.
func UnmarshalPixmapError ¶ added in v1.1.0
PixmapErrorNew constructs a PixmapError value that implements xgb.Error from a byte slice.
func UnmarshalPropertyNotifyEvent ¶ added in v1.1.0
UnmarshalPropertyNotifyEvent constructs a PropertyNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalReparentNotifyEvent ¶ added in v1.1.0
UnmarshalReparentNotifyEvent constructs a ReparentNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalRequestError ¶ added in v1.1.0
UnmarshalRequestError constructs a RequestError value that implements xgb.Error from a byte slice.
func UnmarshalResizeRequestEvent ¶ added in v1.1.0
UnmarshalResizeRequestEvent constructs a ResizeRequestEvent value that implements xgb.Event from a byte slice.
func UnmarshalSelectionClearEvent ¶ added in v1.1.0
UnmarshalSelectionClearEvent constructs a SelectionClearEvent value that implements xgb.Event from a byte slice.
func UnmarshalSelectionNotifyEvent ¶ added in v1.1.0
UnmarshalSelectionNotifyEvent constructs a SelectionNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalSelectionRequestEvent ¶ added in v1.1.0
UnmarshalSelectionRequestEvent constructs a SelectionRequestEvent value that implements xgb.Event from a byte slice.
func UnmarshalUnmapNotifyEvent ¶ added in v1.1.0
UnmarshalUnmapNotifyEvent constructs a UnmapNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalValueError ¶ added in v1.1.0
UnmarshalValueError constructs a ValueError value that implements xgb.Error from a byte slice.
func UnmarshalVisibilityNotifyEvent ¶ added in v1.1.0
UnmarshalVisibilityNotifyEvent constructs a VisibilityNotifyEvent value that implements xgb.Event from a byte slice.
func UnmarshalWindowError ¶ added in v1.1.0
WindowErrorNew constructs a WindowError value that implements xgb.Error from a byte slice.
func VisualInfoListBytes ¶
func VisualInfoListBytes(buf []byte, list []VisualInfo) int
VisualInfoListBytes writes a list of VisualInfo values to a byte slice.
func VisualInfoRead ¶
func VisualInfoRead(buf []byte, v *VisualInfo) int
VisualInfoRead reads a byte slice into a VisualInfo value.
func VisualInfoReadList ¶
func VisualInfoReadList(buf []byte, dest []VisualInfo) int
VisualInfoReadList reads a byte slice into a list of VisualInfo values.
Types ¶
type AccessError ¶
type AccessError RequestError
func (*AccessError) BadID ¶ added in v1.1.0
func (err *AccessError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadAccess error. If no bad value exists, 0 is returned.
func (*AccessError) Error ¶
func (err *AccessError) Error() string
Error returns a rudimentary string representation of the BadAccess error.
func (*AccessError) SeqID ¶ added in v1.1.0
func (err *AccessError) SeqID() uint16
SequenceId returns the sequence id attached to the BadAccess error. This is mostly used internally.
type AllocColorCellsReply ¶
type AllocColorCellsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes PixelsLen uint16 MasksLen uint16 // padding: 20 bytes Pixels []uint32 // size: internal.Pad4((int(PixelsLen) * 4)) // alignment gap to multiple of 4 Masks []uint32 // size: internal.Pad4((int(MasksLen) * 4)) }
AllocColorCellsReply represents the data returned from a AllocColorCells request.
func AllocColorCells ¶
func AllocColorCells(c *xgb.XConn, Contiguous bool, Cmap Colormap, Colors uint16, Planes uint16) (AllocColorCellsReply, error)
AllocColorCells sends a checked request.
func (*AllocColorCellsReply) Unmarshal ¶ added in v1.1.0
func (v *AllocColorCellsReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a AllocColorCellsReply value.
type AllocColorPlanesReply ¶
type AllocColorPlanesReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes PixelsLen uint16 // padding: 2 bytes RedMask uint32 GreenMask uint32 BlueMask uint32 // padding: 8 bytes Pixels []uint32 // size: internal.Pad4((int(PixelsLen) * 4)) }
AllocColorPlanesReply represents the data returned from a AllocColorPlanes request.
func AllocColorPlanes ¶
func AllocColorPlanes(c *xgb.XConn, Contiguous bool, Cmap Colormap, Colors uint16, Reds uint16, Greens uint16, Blues uint16) (AllocColorPlanesReply, error)
AllocColorPlanes sends a checked request.
func (*AllocColorPlanesReply) Unmarshal ¶ added in v1.1.0
func (v *AllocColorPlanesReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a AllocColorPlanesReply value.
type AllocColorReply ¶
type AllocColorReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Red uint16 Green uint16 Blue uint16 // padding: 2 bytes Pixel uint32 }
AllocColorReply represents the data returned from a AllocColor request.
func AllocColor ¶
func AllocColor(c *xgb.XConn, Cmap Colormap, Red uint16, Green uint16, Blue uint16) (AllocColorReply, error)
AllocColor sends a checked request.
func (*AllocColorReply) Unmarshal ¶ added in v1.1.0
func (v *AllocColorReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a AllocColorReply value.
type AllocError ¶
type AllocError RequestError
func (*AllocError) BadID ¶ added in v1.1.0
func (err *AllocError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadAlloc error. If no bad value exists, 0 is returned.
func (*AllocError) Error ¶
func (err *AllocError) Error() string
Error returns a rudimentary string representation of the BadAlloc error.
func (*AllocError) SeqID ¶ added in v1.1.0
func (err *AllocError) SeqID() uint16
SequenceId returns the sequence id attached to the BadAlloc error. This is mostly used internally.
type AllocNamedColorReply ¶
type AllocNamedColorReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Pixel uint32 ExactRed uint16 ExactGreen uint16 ExactBlue uint16 VisualRed uint16 VisualGreen uint16 VisualBlue uint16 }
AllocNamedColorReply represents the data returned from a AllocNamedColor request.
func AllocNamedColor ¶
func AllocNamedColor(c *xgb.XConn, Cmap Colormap, NameLen uint16, Name string) (AllocNamedColorReply, error)
AllocNamedColor sends a checked request.
func (*AllocNamedColorReply) Unmarshal ¶ added in v1.1.0
func (v *AllocNamedColorReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a AllocNamedColorReply value.
type AtomError ¶
type AtomError ValueError
func (*AtomError) BadID ¶ added in v1.1.0
BadId returns the 'BadValue' number if one exists for the BadAtom error. If no bad value exists, 0 is returned.
type ButtonPressEvent ¶
type ButtonPressEvent struct { Sequence uint16 Detail Button Time Timestamp Root Window Event Window Child Window RootX int16 RootY int16 EventX int16 EventY int16 State uint16 SameScreen bool }
func (*ButtonPressEvent) Bytes ¶
func (v *ButtonPressEvent) Bytes() []byte
Bytes writes a ButtonPressEvent value to a byte slice.
func (*ButtonPressEvent) SeqID ¶ added in v1.1.0
func (v *ButtonPressEvent) SeqID() uint16
SeqID returns the sequence id attached to the ButtonPress event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type ButtonReleaseEvent ¶
type ButtonReleaseEvent ButtonPressEvent
func (*ButtonReleaseEvent) Bytes ¶
func (v *ButtonReleaseEvent) Bytes() []byte
Bytes writes a ButtonReleaseEvent value to a byte slice.
func (*ButtonReleaseEvent) SeqID ¶ added in v1.1.0
func (v *ButtonReleaseEvent) SeqID() uint16
SeqID returns the sequence id attached to the ButtonRelease event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type Charinfo ¶
type CirculateNotifyEvent ¶
type CirculateNotifyEvent struct { Sequence uint16 // padding: 1 bytes Event Window Window Window // padding: 4 bytes Place byte }
func (*CirculateNotifyEvent) Bytes ¶
func (v *CirculateNotifyEvent) Bytes() []byte
Bytes writes a CirculateNotifyEvent value to a byte slice.
func (*CirculateNotifyEvent) SeqID ¶ added in v1.1.0
func (v *CirculateNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the CirculateNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type CirculateRequestEvent ¶
type CirculateRequestEvent CirculateNotifyEvent
func (*CirculateRequestEvent) Bytes ¶
func (v *CirculateRequestEvent) Bytes() []byte
Bytes writes a CirculateRequestEvent value to a byte slice.
func (*CirculateRequestEvent) SeqID ¶ added in v1.1.0
func (v *CirculateRequestEvent) SeqID() uint16
SeqID returns the sequence id attached to the CirculateRequest event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type ClientMessageDataUnion ¶
type ClientMessageDataUnion struct { Data8 []byte // size: 20 Data16 []uint16 // size: 20 Data32 []uint32 // size: 20 }
ClientMessageDataUnion is a representation of the ClientMessageDataUnion union type. Note that to *create* a Union, you should *never* create this struct directly (unless you know what you're doing). Instead use one of the following constructors for 'ClientMessageDataUnion':
ClientMessageDataUnionData8New(Data8 []byte) ClientMessageDataUnion ClientMessageDataUnionData16New(Data16 []uint16) ClientMessageDataUnion ClientMessageDataUnionData32New(Data32 []uint32) ClientMessageDataUnion
func ClientMessageDataUnionData16New ¶
func ClientMessageDataUnionData16New(Data16 []uint16) ClientMessageDataUnion
ClientMessageDataUnionData16New constructs a new ClientMessageDataUnion union type with the Data16 field.
func ClientMessageDataUnionData32New ¶
func ClientMessageDataUnionData32New(Data32 []uint32) ClientMessageDataUnion
ClientMessageDataUnionData32New constructs a new ClientMessageDataUnion union type with the Data32 field.
func ClientMessageDataUnionData8New ¶
func ClientMessageDataUnionData8New(Data8 []byte) ClientMessageDataUnion
ClientMessageDataUnionData8New constructs a new ClientMessageDataUnion union type with the Data8 field.
func (ClientMessageDataUnion) Bytes ¶
func (v ClientMessageDataUnion) Bytes() []byte
Bytes writes a ClientMessageDataUnion value to a byte slice. Each field in a union must contain the same data. So simply pick the first field and write that to the wire.
type ClientMessageEvent ¶
type ClientMessageEvent struct { Sequence uint16 Format byte Window Window Type Atom Data ClientMessageDataUnion }
func (*ClientMessageEvent) Bytes ¶
func (v *ClientMessageEvent) Bytes() []byte
Bytes writes a ClientMessageEvent value to a byte slice.
func (*ClientMessageEvent) SeqID ¶ added in v1.1.0
func (v *ClientMessageEvent) SeqID() uint16
SeqID returns the sequence id attached to the ClientMessage event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type Colormap ¶
type Colormap uint32
func NewColormapID ¶ added in v1.1.0
func NewColormapID(c *xgb.XConn) Colormap
type ColormapError ¶
type ColormapError ValueError
func (*ColormapError) BadID ¶ added in v1.1.0
func (err *ColormapError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadColormap error. If no bad value exists, 0 is returned.
func (*ColormapError) Error ¶
func (err *ColormapError) Error() string
Error returns a rudimentary string representation of the BadColormap error.
func (*ColormapError) SeqID ¶ added in v1.1.0
func (err *ColormapError) SeqID() uint16
SequenceId returns the sequence id attached to the BadColormap error. This is mostly used internally.
type ColormapNotifyEvent ¶
type ColormapNotifyEvent struct { Sequence uint16 // padding: 1 bytes Window Window Colormap Colormap New bool State byte }
func (*ColormapNotifyEvent) Bytes ¶
func (v *ColormapNotifyEvent) Bytes() []byte
Bytes writes a ColormapNotifyEvent value to a byte slice.
func (*ColormapNotifyEvent) SeqID ¶ added in v1.1.0
func (v *ColormapNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the ColormapNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type ConfigureNotifyEvent ¶
type ConfigureNotifyEvent struct { Sequence uint16 // padding: 1 bytes Event Window Window Window AboveSibling Window X int16 Y int16 Width uint16 Height uint16 BorderWidth uint16 OverrideRedirect bool }
func (*ConfigureNotifyEvent) Bytes ¶
func (v *ConfigureNotifyEvent) Bytes() []byte
Bytes writes a ConfigureNotifyEvent value to a byte slice.
func (*ConfigureNotifyEvent) SeqID ¶ added in v1.1.0
func (v *ConfigureNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the ConfigureNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type ConfigureRequestEvent ¶
type ConfigureRequestEvent struct { Sequence uint16 StackMode byte Parent Window Window Window Sibling Window X int16 Y int16 Width uint16 Height uint16 BorderWidth uint16 ValueMask uint16 }
func (*ConfigureRequestEvent) Bytes ¶
func (v *ConfigureRequestEvent) Bytes() []byte
Bytes writes a ConfigureRequestEvent value to a byte slice.
func (*ConfigureRequestEvent) SeqID ¶ added in v1.1.0
func (v *ConfigureRequestEvent) SeqID() uint16
SeqID returns the sequence id attached to the ConfigureRequest event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type CreateNotifyEvent ¶
type CreateNotifyEvent struct { Sequence uint16 // padding: 1 bytes Parent Window Window Window X int16 Y int16 Width uint16 Height uint16 BorderWidth uint16 OverrideRedirect bool }
func (*CreateNotifyEvent) Bytes ¶
func (v *CreateNotifyEvent) Bytes() []byte
Bytes writes a CreateNotifyEvent value to a byte slice.
func (*CreateNotifyEvent) SeqID ¶ added in v1.1.0
func (v *CreateNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the CreateNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type Cursor ¶
type Cursor uint32
func NewCursorID ¶ added in v1.1.0
func NewCursorID(c *xgb.XConn) Cursor
type CursorError ¶
type CursorError ValueError
func (*CursorError) BadID ¶ added in v1.1.0
func (err *CursorError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadCursor error. If no bad value exists, 0 is returned.
func (*CursorError) Error ¶
func (err *CursorError) Error() string
Error returns a rudimentary string representation of the BadCursor error.
func (*CursorError) SeqID ¶ added in v1.1.0
func (err *CursorError) SeqID() uint16
SequenceId returns the sequence id attached to the BadCursor error. This is mostly used internally.
type DepthInfo ¶
type DepthInfo struct { Depth byte // padding: 1 bytes VisualsLen uint16 // padding: 4 bytes Visuals []VisualInfo // size: internal.Pad4((int(VisualsLen) * 24)) }
type DestroyNotifyEvent ¶
func (*DestroyNotifyEvent) Bytes ¶
func (v *DestroyNotifyEvent) Bytes() []byte
Bytes writes a DestroyNotifyEvent value to a byte slice.
func (*DestroyNotifyEvent) SeqID ¶ added in v1.1.0
func (v *DestroyNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the DestroyNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type Drawable ¶
type Drawable uint32
func NewDrawableID ¶ added in v1.1.0
func NewDrawableID(c *xgb.XConn) Drawable
type DrawableError ¶
type DrawableError ValueError
func (*DrawableError) BadID ¶ added in v1.1.0
func (err *DrawableError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadDrawable error. If no bad value exists, 0 is returned.
func (*DrawableError) Error ¶
func (err *DrawableError) Error() string
Error returns a rudimentary string representation of the BadDrawable error.
func (*DrawableError) SeqID ¶ added in v1.1.0
func (err *DrawableError) SeqID() uint16
SequenceId returns the sequence id attached to the BadDrawable error. This is mostly used internally.
type EnterNotifyEvent ¶
type EnterNotifyEvent struct { Sequence uint16 Detail byte Time Timestamp Root Window Event Window Child Window RootX int16 RootY int16 EventX int16 EventY int16 State uint16 Mode byte SameScreenFocus byte }
func (*EnterNotifyEvent) Bytes ¶
func (v *EnterNotifyEvent) Bytes() []byte
Bytes writes a EnterNotifyEvent value to a byte slice.
func (*EnterNotifyEvent) SeqID ¶ added in v1.1.0
func (v *EnterNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the EnterNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type ExposeEvent ¶
type ExposeEvent struct { Sequence uint16 // padding: 1 bytes Window Window X uint16 Y uint16 Width uint16 Height uint16 Count uint16 }
func (*ExposeEvent) Bytes ¶
func (v *ExposeEvent) Bytes() []byte
Bytes writes a ExposeEvent value to a byte slice.
func (*ExposeEvent) SeqID ¶ added in v1.1.0
func (v *ExposeEvent) SeqID() uint16
SeqID returns the sequence id attached to the Expose event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type FocusInEvent ¶
func (*FocusInEvent) Bytes ¶
func (v *FocusInEvent) Bytes() []byte
Bytes writes a FocusInEvent value to a byte slice.
func (*FocusInEvent) SeqID ¶ added in v1.1.0
func (v *FocusInEvent) SeqID() uint16
SeqID returns the sequence id attached to the FocusIn event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type FocusOutEvent ¶
type FocusOutEvent FocusInEvent
func (*FocusOutEvent) Bytes ¶
func (v *FocusOutEvent) Bytes() []byte
Bytes writes a FocusOutEvent value to a byte slice.
func (*FocusOutEvent) SeqID ¶ added in v1.1.0
func (v *FocusOutEvent) SeqID() uint16
SeqID returns the sequence id attached to the FocusOut event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type FontError ¶
type FontError ValueError
func (*FontError) BadID ¶ added in v1.1.0
BadId returns the 'BadValue' number if one exists for the BadFont error. If no bad value exists, 0 is returned.
type Fontable ¶
type Fontable uint32
func NewFontableID ¶ added in v1.1.0
func NewFontableID(c *xgb.XConn) Fontable
type GContextError ¶
type GContextError ValueError
func (*GContextError) BadID ¶ added in v1.1.0
func (err *GContextError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadGContext error. If no bad value exists, 0 is returned.
func (*GContextError) Error ¶
func (err *GContextError) Error() string
Error returns a rudimentary string representation of the BadGContext error.
func (*GContextError) SeqID ¶ added in v1.1.0
func (err *GContextError) SeqID() uint16
SequenceId returns the sequence id attached to the BadGContext error. This is mostly used internally.
type Gcontext ¶
type Gcontext uint32
func NewGcontextID ¶ added in v1.1.0
func NewGcontextID(c *xgb.XConn) Gcontext
type GeGenericEvent ¶
type GeGenericEvent struct {
Sequence uint16
}
func (*GeGenericEvent) Bytes ¶
func (v *GeGenericEvent) Bytes() []byte
Bytes writes a GeGenericEvent value to a byte slice.
func (*GeGenericEvent) SeqID ¶ added in v1.1.0
func (v *GeGenericEvent) SeqID() uint16
SeqID returns the sequence id attached to the GeGeneric event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type GetAtomNameReply ¶
type GetAtomNameReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes NameLen uint16 // padding: 22 bytes Name string // size: internal.Pad4((int(NameLen) * 1)) }
GetAtomNameReply represents the data returned from a GetAtomName request.
func GetAtomName ¶
func GetAtomName(c *xgb.XConn, Atom Atom) (GetAtomNameReply, error)
GetAtomName sends a checked request.
func (*GetAtomNameReply) Unmarshal ¶ added in v1.1.0
func (v *GetAtomNameReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetAtomNameReply value.
type GetFontPathReply ¶
type GetFontPathReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes PathLen uint16 // padding: 22 bytes Path []Str // size: StrListSize(Path) }
GetFontPathReply represents the data returned from a GetFontPath request.
func GetFontPath ¶
func GetFontPath(c *xgb.XConn) (GetFontPathReply, error)
GetFontPath sends a checked request.
func (*GetFontPathReply) Unmarshal ¶ added in v1.1.0
func (v *GetFontPathReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetFontPathReply value.
type GetGeometryReply ¶
type GetGeometryReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply Depth byte Root Window X int16 Y int16 Width uint16 Height uint16 BorderWidth uint16 }
GetGeometryReply represents the data returned from a GetGeometry request.
func GetGeometry ¶
func GetGeometry(c *xgb.XConn, Drawable Drawable) (GetGeometryReply, error)
GetGeometry sends a checked request.
func (*GetGeometryReply) Unmarshal ¶ added in v1.1.0
func (v *GetGeometryReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetGeometryReply value.
type GetImageReply ¶
type GetImageReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply Depth byte Visual Visualid // padding: 20 bytes Data []byte // size: internal.Pad4(((int(Length) * 4) * 1)) }
GetImageReply represents the data returned from a GetImage request.
func GetImage ¶
func GetImage(c *xgb.XConn, Format byte, Drawable Drawable, X int16, Y int16, Width uint16, Height uint16, PlaneMask uint32) (GetImageReply, error)
GetImage sends a checked request.
func (*GetImageReply) Unmarshal ¶ added in v1.1.0
func (v *GetImageReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetImageReply value.
type GetInputFocusReply ¶
type GetInputFocusReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply RevertTo byte Focus Window }
GetInputFocusReply represents the data returned from a GetInputFocus request.
func GetInputFocus ¶
func GetInputFocus(c *xgb.XConn) (GetInputFocusReply, error)
GetInputFocus sends a checked request.
func (*GetInputFocusReply) Unmarshal ¶ added in v1.1.0
func (v *GetInputFocusReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetInputFocusReply value.
type GetKeyboardControlReply ¶
type GetKeyboardControlReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply GlobalAutoRepeat byte LedMask uint32 KeyClickPercent byte BellPercent byte BellPitch uint16 BellDuration uint16 // padding: 2 bytes AutoRepeats []byte // size: 32 }
GetKeyboardControlReply represents the data returned from a GetKeyboardControl request.
func GetKeyboardControl ¶
func GetKeyboardControl(c *xgb.XConn) (GetKeyboardControlReply, error)
GetKeyboardControl sends a checked request.
func (*GetKeyboardControlReply) Unmarshal ¶ added in v1.1.0
func (v *GetKeyboardControlReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetKeyboardControlReply value.
type GetKeyboardMappingReply ¶
type GetKeyboardMappingReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply KeysymsPerKeycode byte // padding: 24 bytes Keysyms []Keysym // size: internal.Pad4((int(Length) * 4)) }
GetKeyboardMappingReply represents the data returned from a GetKeyboardMapping request.
func GetKeyboardMapping ¶
func GetKeyboardMapping(c *xgb.XConn, FirstKeycode Keycode, Count byte) (GetKeyboardMappingReply, error)
GetKeyboardMapping sends a checked request.
func (*GetKeyboardMappingReply) Unmarshal ¶ added in v1.1.0
func (v *GetKeyboardMappingReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetKeyboardMappingReply value.
type GetModifierMappingReply ¶
type GetModifierMappingReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply KeycodesPerModifier byte // padding: 24 bytes Keycodes []Keycode // size: internal.Pad4(((int(KeycodesPerModifier) * 8) * 1)) }
GetModifierMappingReply represents the data returned from a GetModifierMapping request.
func GetModifierMapping ¶
func GetModifierMapping(c *xgb.XConn) (GetModifierMappingReply, error)
GetModifierMapping sends a checked request.
func (*GetModifierMappingReply) Unmarshal ¶ added in v1.1.0
func (v *GetModifierMappingReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetModifierMappingReply value.
type GetMotionEventsReply ¶
type GetMotionEventsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes EventsLen uint32 // padding: 20 bytes Events []Timecoord // size: internal.Pad4((int(EventsLen) * 8)) }
GetMotionEventsReply represents the data returned from a GetMotionEvents request.
func GetMotionEvents ¶
func GetMotionEvents(c *xgb.XConn, Window Window, Start Timestamp, Stop Timestamp) (GetMotionEventsReply, error)
GetMotionEvents sends a checked request.
func (*GetMotionEventsReply) Unmarshal ¶ added in v1.1.0
func (v *GetMotionEventsReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetMotionEventsReply value.
type GetPointerControlReply ¶
type GetPointerControlReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes AccelerationNumerator uint16 AccelerationDenominator uint16 Threshold uint16 }
GetPointerControlReply represents the data returned from a GetPointerControl request.
func GetPointerControl ¶
func GetPointerControl(c *xgb.XConn) (GetPointerControlReply, error)
GetPointerControl sends a checked request.
func (*GetPointerControlReply) Unmarshal ¶ added in v1.1.0
func (v *GetPointerControlReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetPointerControlReply value.
type GetPointerMappingReply ¶
type GetPointerMappingReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply MapLen byte // padding: 24 bytes Map []byte // size: internal.Pad4((int(MapLen) * 1)) }
GetPointerMappingReply represents the data returned from a GetPointerMapping request.
func GetPointerMapping ¶
func GetPointerMapping(c *xgb.XConn) (GetPointerMappingReply, error)
GetPointerMapping sends a checked request.
func (*GetPointerMappingReply) Unmarshal ¶ added in v1.1.0
func (v *GetPointerMappingReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetPointerMappingReply value.
type GetPropertyReply ¶
type GetPropertyReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply Format byte Type Atom BytesAfter uint32 ValueLen uint32 // padding: 12 bytes Value []byte // size: internal.Pad4(((int(ValueLen) * (int(Format) / 8)) * 1)) }
GetPropertyReply represents the data returned from a GetProperty request.
func GetProperty ¶
func GetProperty(c *xgb.XConn, Delete bool, Window Window, Property Atom, Type Atom, LongOffset uint32, LongLength uint32) (GetPropertyReply, error)
GetProperty sends a checked request.
func (*GetPropertyReply) Unmarshal ¶ added in v1.1.0
func (v *GetPropertyReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetPropertyReply value.
type GetScreenSaverReply ¶
type GetScreenSaverReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Timeout uint16 Interval uint16 PreferBlanking byte AllowExposures byte }
GetScreenSaverReply represents the data returned from a GetScreenSaver request.
func GetScreenSaver ¶
func GetScreenSaver(c *xgb.XConn) (GetScreenSaverReply, error)
GetScreenSaver sends a checked request.
func (*GetScreenSaverReply) Unmarshal ¶ added in v1.1.0
func (v *GetScreenSaverReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetScreenSaverReply value.
type GetSelectionOwnerReply ¶
type GetSelectionOwnerReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Owner Window }
GetSelectionOwnerReply represents the data returned from a GetSelectionOwner request.
func GetSelectionOwner ¶
func GetSelectionOwner(c *xgb.XConn, Selection Atom) (GetSelectionOwnerReply, error)
GetSelectionOwner sends a checked request.
func (*GetSelectionOwnerReply) Unmarshal ¶ added in v1.1.0
func (v *GetSelectionOwnerReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetSelectionOwnerReply value.
type GetWindowAttributesReply ¶
type GetWindowAttributesReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply BackingStore byte Visual Visualid Class uint16 BitGravity byte WinGravity byte BackingPlanes uint32 BackingPixel uint32 SaveUnder bool MapIsInstalled bool MapState byte OverrideRedirect bool Colormap Colormap AllEventMasks uint32 YourEventMask uint32 DoNotPropagateMask uint16 }
GetWindowAttributesReply represents the data returned from a GetWindowAttributes request.
func GetWindowAttributes ¶
func GetWindowAttributes(c *xgb.XConn, Window Window) (GetWindowAttributesReply, error)
GetWindowAttributes sends a checked request.
func (*GetWindowAttributesReply) Unmarshal ¶ added in v1.1.0
func (v *GetWindowAttributesReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GetWindowAttributesReply value.
type GrabKeyboardReply ¶
type GrabKeyboardReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply Status byte }
GrabKeyboardReply represents the data returned from a GrabKeyboard request.
func GrabKeyboard ¶
func GrabKeyboard(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, Time Timestamp, PointerMode byte, KeyboardMode byte) (GrabKeyboardReply, error)
GrabKeyboard sends a checked request.
func (*GrabKeyboardReply) Unmarshal ¶ added in v1.1.0
func (v *GrabKeyboardReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GrabKeyboardReply value.
type GrabPointerReply ¶
type GrabPointerReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply Status byte }
GrabPointerReply represents the data returned from a GrabPointer request.
func GrabPointer ¶
func GrabPointer(c *xgb.XConn, OwnerEvents bool, GrabWindow Window, EventMask uint16, PointerMode byte, KeyboardMode byte, ConfineTo Window, Cursor Cursor, Time Timestamp) (GrabPointerReply, error)
GrabPointer sends a checked request.
func (*GrabPointerReply) Unmarshal ¶ added in v1.1.0
func (v *GrabPointerReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a GrabPointerReply value.
type GraphicsExposureEvent ¶
type GraphicsExposureEvent struct { Sequence uint16 // padding: 1 bytes Drawable Drawable X uint16 Y uint16 Width uint16 Height uint16 MinorOpcode uint16 Count uint16 MajorOpcode byte }
func (*GraphicsExposureEvent) Bytes ¶
func (v *GraphicsExposureEvent) Bytes() []byte
Bytes writes a GraphicsExposureEvent value to a byte slice.
func (*GraphicsExposureEvent) SeqID ¶ added in v1.1.0
func (v *GraphicsExposureEvent) SeqID() uint16
SeqID returns the sequence id attached to the GraphicsExposure event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type GravityNotifyEvent ¶
type GravityNotifyEvent struct { Sequence uint16 // padding: 1 bytes Event Window Window Window X int16 Y int16 }
func (*GravityNotifyEvent) Bytes ¶
func (v *GravityNotifyEvent) Bytes() []byte
Bytes writes a GravityNotifyEvent value to a byte slice.
func (*GravityNotifyEvent) SeqID ¶ added in v1.1.0
func (v *GravityNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the GravityNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type Host ¶
type IDChoiceError ¶
type IDChoiceError ValueError
func (*IDChoiceError) BadID ¶ added in v1.1.0
func (err *IDChoiceError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadIDChoice error. If no bad value exists, 0 is returned.
func (*IDChoiceError) Error ¶
func (err *IDChoiceError) Error() string
Error returns a rudimentary string representation of the BadIDChoice error.
func (*IDChoiceError) SeqID ¶ added in v1.1.0
func (err *IDChoiceError) SeqID() uint16
SequenceId returns the sequence id attached to the BadIDChoice error. This is mostly used internally.
type ImplementationError ¶
type ImplementationError RequestError
func (*ImplementationError) BadID ¶ added in v1.1.0
func (err *ImplementationError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadImplementation error. If no bad value exists, 0 is returned.
func (*ImplementationError) Error ¶
func (err *ImplementationError) Error() string
Error returns a rudimentary string representation of the BadImplementation error.
func (*ImplementationError) SeqID ¶ added in v1.1.0
func (err *ImplementationError) SeqID() uint16
SequenceId returns the sequence id attached to the BadImplementation error. This is mostly used internally.
type InternAtomReply ¶
type InternAtomReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Atom Atom }
InternAtomReply represents the data returned from a InternAtom request.
func InternAtom ¶
func InternAtom(c *xgb.XConn, OnlyIfExists bool, NameLen uint16, Name string) (InternAtomReply, error)
InternAtom sends a checked request.
func (*InternAtomReply) Unmarshal ¶ added in v1.1.0
func (v *InternAtomReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a InternAtomReply value.
type KeyPressEvent ¶
type KeyPressEvent struct { Sequence uint16 Detail Keycode Time Timestamp Root Window Event Window Child Window RootX int16 RootY int16 EventX int16 EventY int16 State uint16 SameScreen bool }
func (*KeyPressEvent) Bytes ¶
func (v *KeyPressEvent) Bytes() []byte
Bytes writes a KeyPressEvent value to a byte slice.
func (*KeyPressEvent) SeqID ¶ added in v1.1.0
func (v *KeyPressEvent) SeqID() uint16
SeqID returns the sequence id attached to the KeyPress event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type KeyReleaseEvent ¶
type KeyReleaseEvent KeyPressEvent
func (*KeyReleaseEvent) Bytes ¶
func (v *KeyReleaseEvent) Bytes() []byte
Bytes writes a KeyReleaseEvent value to a byte slice.
func (*KeyReleaseEvent) SeqID ¶ added in v1.1.0
func (v *KeyReleaseEvent) SeqID() uint16
SeqID returns the sequence id attached to the KeyRelease event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type KeymapNotifyEvent ¶
type KeymapNotifyEvent struct {
Keys []byte // size: 32
}
func (*KeymapNotifyEvent) Bytes ¶
func (v *KeymapNotifyEvent) Bytes() []byte
Bytes writes a KeymapNotifyEvent value to a byte slice.
func (*KeymapNotifyEvent) SeqID ¶ added in v1.1.0
func (v *KeymapNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the KeymapNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type LeaveNotifyEvent ¶
type LeaveNotifyEvent EnterNotifyEvent
func (*LeaveNotifyEvent) Bytes ¶
func (v *LeaveNotifyEvent) Bytes() []byte
Bytes writes a LeaveNotifyEvent value to a byte slice.
func (*LeaveNotifyEvent) SeqID ¶ added in v1.1.0
func (v *LeaveNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the LeaveNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type LengthError ¶
type LengthError RequestError
func (*LengthError) BadID ¶ added in v1.1.0
func (err *LengthError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadLength error. If no bad value exists, 0 is returned.
func (*LengthError) Error ¶
func (err *LengthError) Error() string
Error returns a rudimentary string representation of the BadLength error.
func (*LengthError) SeqID ¶ added in v1.1.0
func (err *LengthError) SeqID() uint16
SequenceId returns the sequence id attached to the BadLength error. This is mostly used internally.
type ListExtensionsReply ¶
type ListExtensionsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply NamesLen byte // padding: 24 bytes Names []Str // size: StrListSize(Names) }
ListExtensionsReply represents the data returned from a ListExtensions request.
func ListExtensions ¶
func ListExtensions(c *xgb.XConn) (ListExtensionsReply, error)
ListExtensions sends a checked request.
func (*ListExtensionsReply) Unmarshal ¶ added in v1.1.0
func (v *ListExtensionsReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a ListExtensionsReply value.
type ListFontsReply ¶
type ListFontsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes NamesLen uint16 // padding: 22 bytes Names []Str // size: StrListSize(Names) }
ListFontsReply represents the data returned from a ListFonts request.
func ListFonts ¶
func ListFonts(c *xgb.XConn, MaxNames uint16, PatternLen uint16, Pattern string) (ListFontsReply, error)
ListFonts sends a checked request.
func (*ListFontsReply) Unmarshal ¶ added in v1.1.0
func (v *ListFontsReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a ListFontsReply value.
type ListFontsWithInfoReply ¶
type ListFontsWithInfoReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply NameLen byte MinBounds Charinfo // padding: 4 bytes MaxBounds Charinfo // padding: 4 bytes MinCharOrByte2 uint16 MaxCharOrByte2 uint16 DefaultChar uint16 PropertiesLen uint16 DrawDirection byte MinByte1 byte MaxByte1 byte AllCharsExist bool FontAscent int16 FontDescent int16 RepliesHint uint32 Properties []Fontprop // size: internal.Pad4((int(PropertiesLen) * 8)) Name string // size: internal.Pad4((int(NameLen) * 1)) }
ListFontsWithInfoReply represents the data returned from a ListFontsWithInfo request.
func ListFontsWithInfo ¶
func ListFontsWithInfo(c *xgb.XConn, MaxNames uint16, PatternLen uint16, Pattern string) (ListFontsWithInfoReply, error)
ListFontsWithInfo sends a checked request.
func (*ListFontsWithInfoReply) Unmarshal ¶ added in v1.1.0
func (v *ListFontsWithInfoReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a ListFontsWithInfoReply value.
type ListHostsReply ¶
type ListHostsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply Mode byte HostsLen uint16 // padding: 22 bytes Hosts []Host // size: HostListSize(Hosts) }
ListHostsReply represents the data returned from a ListHosts request.
func ListHosts ¶
func ListHosts(c *xgb.XConn) (ListHostsReply, error)
ListHosts sends a checked request.
func (*ListHostsReply) Unmarshal ¶ added in v1.1.0
func (v *ListHostsReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a ListHostsReply value.
type ListInstalledColormapsReply ¶
type ListInstalledColormapsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes CmapsLen uint16 // padding: 22 bytes Cmaps []Colormap // size: internal.Pad4((int(CmapsLen) * 4)) }
ListInstalledColormapsReply represents the data returned from a ListInstalledColormaps request.
func ListInstalledColormaps ¶
func ListInstalledColormaps(c *xgb.XConn, Window Window) (ListInstalledColormapsReply, error)
ListInstalledColormaps sends a checked request.
func (*ListInstalledColormapsReply) Unmarshal ¶ added in v1.1.0
func (v *ListInstalledColormapsReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a ListInstalledColormapsReply value.
type ListPropertiesReply ¶
type ListPropertiesReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes AtomsLen uint16 // padding: 22 bytes Atoms []Atom // size: internal.Pad4((int(AtomsLen) * 4)) }
ListPropertiesReply represents the data returned from a ListProperties request.
func ListProperties ¶
func ListProperties(c *xgb.XConn, Window Window) (ListPropertiesReply, error)
ListProperties sends a checked request.
func (*ListPropertiesReply) Unmarshal ¶ added in v1.1.0
func (v *ListPropertiesReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a ListPropertiesReply value.
type LookupColorReply ¶
type LookupColorReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ExactRed uint16 ExactGreen uint16 ExactBlue uint16 VisualRed uint16 VisualGreen uint16 VisualBlue uint16 }
LookupColorReply represents the data returned from a LookupColor request.
func LookupColor ¶
func LookupColor(c *xgb.XConn, Cmap Colormap, NameLen uint16, Name string) (LookupColorReply, error)
LookupColor sends a checked request.
func (*LookupColorReply) Unmarshal ¶ added in v1.1.0
func (v *LookupColorReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a LookupColorReply value.
type MapNotifyEvent ¶
type MapNotifyEvent struct { Sequence uint16 // padding: 1 bytes Event Window Window Window OverrideRedirect bool }
func (*MapNotifyEvent) Bytes ¶
func (v *MapNotifyEvent) Bytes() []byte
Bytes writes a MapNotifyEvent value to a byte slice.
func (*MapNotifyEvent) SeqID ¶ added in v1.1.0
func (v *MapNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the MapNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type MapRequestEvent ¶
func (*MapRequestEvent) Bytes ¶
func (v *MapRequestEvent) Bytes() []byte
Bytes writes a MapRequestEvent value to a byte slice.
func (*MapRequestEvent) SeqID ¶ added in v1.1.0
func (v *MapRequestEvent) SeqID() uint16
SeqID returns the sequence id attached to the MapRequest event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type MappingNotifyEvent ¶
type MappingNotifyEvent struct { Sequence uint16 // padding: 1 bytes Request byte FirstKeycode Keycode Count byte }
func (*MappingNotifyEvent) Bytes ¶
func (v *MappingNotifyEvent) Bytes() []byte
Bytes writes a MappingNotifyEvent value to a byte slice.
func (*MappingNotifyEvent) SeqID ¶ added in v1.1.0
func (v *MappingNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the MappingNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type MatchError ¶
type MatchError RequestError
func (*MatchError) BadID ¶ added in v1.1.0
func (err *MatchError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadMatch error. If no bad value exists, 0 is returned.
func (*MatchError) Error ¶
func (err *MatchError) Error() string
Error returns a rudimentary string representation of the BadMatch error.
func (*MatchError) SeqID ¶ added in v1.1.0
func (err *MatchError) SeqID() uint16
SequenceId returns the sequence id attached to the BadMatch error. This is mostly used internally.
type MotionNotifyEvent ¶
type MotionNotifyEvent struct { Sequence uint16 Detail byte Time Timestamp Root Window Event Window Child Window RootX int16 RootY int16 EventX int16 EventY int16 State uint16 SameScreen bool }
func (*MotionNotifyEvent) Bytes ¶
func (v *MotionNotifyEvent) Bytes() []byte
Bytes writes a MotionNotifyEvent value to a byte slice.
func (*MotionNotifyEvent) SeqID ¶ added in v1.1.0
func (v *MotionNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the MotionNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type NameError ¶
type NameError RequestError
func (*NameError) BadID ¶ added in v1.1.0
BadId returns the 'BadValue' number if one exists for the BadName error. If no bad value exists, 0 is returned.
type NoExposureEvent ¶
type NoExposureEvent struct { Sequence uint16 // padding: 1 bytes Drawable Drawable MinorOpcode uint16 MajorOpcode byte }
func (*NoExposureEvent) Bytes ¶
func (v *NoExposureEvent) Bytes() []byte
Bytes writes a NoExposureEvent value to a byte slice.
func (*NoExposureEvent) SeqID ¶ added in v1.1.0
func (v *NoExposureEvent) SeqID() uint16
SeqID returns the sequence id attached to the NoExposure event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type Pixmap ¶
type Pixmap uint32
func NewPixmapID ¶ added in v1.1.0
func NewPixmapID(c *xgb.XConn) Pixmap
type PixmapError ¶
type PixmapError ValueError
func (*PixmapError) BadID ¶ added in v1.1.0
func (err *PixmapError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadPixmap error. If no bad value exists, 0 is returned.
func (*PixmapError) Error ¶
func (err *PixmapError) Error() string
Error returns a rudimentary string representation of the BadPixmap error.
func (*PixmapError) SeqID ¶ added in v1.1.0
func (err *PixmapError) SeqID() uint16
SequenceId returns the sequence id attached to the BadPixmap error. This is mostly used internally.
type PropertyNotifyEvent ¶
type PropertyNotifyEvent struct { Sequence uint16 // padding: 1 bytes Window Window Atom Atom Time Timestamp State byte }
func (*PropertyNotifyEvent) Bytes ¶
func (v *PropertyNotifyEvent) Bytes() []byte
Bytes writes a PropertyNotifyEvent value to a byte slice.
func (*PropertyNotifyEvent) SeqID ¶ added in v1.1.0
func (v *PropertyNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the PropertyNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type QueryBestSizeReply ¶
type QueryBestSizeReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Width uint16 Height uint16 }
QueryBestSizeReply represents the data returned from a QueryBestSize request.
func QueryBestSize ¶
func QueryBestSize(c *xgb.XConn, Class byte, Drawable Drawable, Width uint16, Height uint16) (QueryBestSizeReply, error)
QueryBestSize sends a checked request.
func (*QueryBestSizeReply) Unmarshal ¶ added in v1.1.0
func (v *QueryBestSizeReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a QueryBestSizeReply value.
type QueryColorsReply ¶
type QueryColorsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes ColorsLen uint16 // padding: 22 bytes Colors []Rgb // size: internal.Pad4((int(ColorsLen) * 8)) }
QueryColorsReply represents the data returned from a QueryColors request.
func QueryColors ¶
func QueryColors(c *xgb.XConn, Cmap Colormap, Pixels []uint32) (QueryColorsReply, error)
QueryColors sends a checked request.
func (*QueryColorsReply) Unmarshal ¶ added in v1.1.0
func (v *QueryColorsReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a QueryColorsReply value.
type QueryExtensionReply ¶
type QueryExtensionReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Present bool MajorOpcode byte FirstEvent byte FirstError byte }
QueryExtensionReply represents the data returned from a QueryExtension request.
func QueryExtension ¶
func QueryExtension(c *xgb.XConn, NameLen uint16, Name string) (QueryExtensionReply, error)
QueryExtension sends a checked request.
func (*QueryExtensionReply) Unmarshal ¶ added in v1.1.0
func (v *QueryExtensionReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a QueryExtensionReply value.
type QueryFontReply ¶
type QueryFontReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes MinBounds Charinfo // padding: 4 bytes MaxBounds Charinfo // padding: 4 bytes MinCharOrByte2 uint16 MaxCharOrByte2 uint16 DefaultChar uint16 PropertiesLen uint16 DrawDirection byte MinByte1 byte MaxByte1 byte AllCharsExist bool FontAscent int16 FontDescent int16 CharInfosLen uint32 Properties []Fontprop // size: internal.Pad4((int(PropertiesLen) * 8)) // alignment gap to multiple of 4 CharInfos []Charinfo // size: internal.Pad4((int(CharInfosLen) * 12)) }
QueryFontReply represents the data returned from a QueryFont request.
func QueryFont ¶
func QueryFont(c *xgb.XConn, Font Fontable) (QueryFontReply, error)
QueryFont sends a checked request.
func (*QueryFontReply) Unmarshal ¶ added in v1.1.0
func (v *QueryFontReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a QueryFontReply value.
type QueryKeymapReply ¶
type QueryKeymapReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Keys []byte // size: 32 }
QueryKeymapReply represents the data returned from a QueryKeymap request.
func QueryKeymap ¶
func QueryKeymap(c *xgb.XConn) (QueryKeymapReply, error)
QueryKeymap sends a checked request.
func (*QueryKeymapReply) Unmarshal ¶ added in v1.1.0
func (v *QueryKeymapReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a QueryKeymapReply value.
type QueryPointerReply ¶
type QueryPointerReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply SameScreen bool Root Window Child Window RootX int16 RootY int16 WinX int16 WinY int16 Mask uint16 }
QueryPointerReply represents the data returned from a QueryPointer request.
func QueryPointer ¶
func QueryPointer(c *xgb.XConn, Window Window) (QueryPointerReply, error)
QueryPointer sends a checked request.
func (*QueryPointerReply) Unmarshal ¶ added in v1.1.0
func (v *QueryPointerReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a QueryPointerReply value.
type QueryTextExtentsReply ¶
type QueryTextExtentsReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply DrawDirection byte FontAscent int16 FontDescent int16 OverallAscent int16 OverallDescent int16 OverallWidth int32 OverallLeft int32 OverallRight int32 }
QueryTextExtentsReply represents the data returned from a QueryTextExtents request.
func QueryTextExtents ¶
func QueryTextExtents(c *xgb.XConn, Font Fontable, String []Char2b, StringLen uint16) (QueryTextExtentsReply, error)
QueryTextExtents sends a checked request.
func (*QueryTextExtentsReply) Unmarshal ¶ added in v1.1.0
func (v *QueryTextExtentsReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a QueryTextExtentsReply value.
type QueryTreeReply ¶
type QueryTreeReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes Root Window Parent Window ChildrenLen uint16 // padding: 14 bytes Children []Window // size: internal.Pad4((int(ChildrenLen) * 4)) }
QueryTreeReply represents the data returned from a QueryTree request.
func QueryTree ¶
func QueryTree(c *xgb.XConn, Window Window) (QueryTreeReply, error)
QueryTree sends a checked request.
func (*QueryTreeReply) Unmarshal ¶ added in v1.1.0
func (v *QueryTreeReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a QueryTreeReply value.
type ReparentNotifyEvent ¶
type ReparentNotifyEvent struct { Sequence uint16 // padding: 1 bytes Event Window Window Window Parent Window X int16 Y int16 OverrideRedirect bool }
func (*ReparentNotifyEvent) Bytes ¶
func (v *ReparentNotifyEvent) Bytes() []byte
Bytes writes a ReparentNotifyEvent value to a byte slice.
func (*ReparentNotifyEvent) SeqID ¶ added in v1.1.0
func (v *ReparentNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the ReparentNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type RequestError ¶
type RequestError struct { Sequence uint16 NiceName string BadValue uint32 MinorOpcode uint16 MajorOpcode byte }
func (*RequestError) BadID ¶ added in v1.1.0
func (err *RequestError) BadID() uint32
BadID returns the 'BadValue' number if one exists for the BadRequest error. If no bad value exists, 0 is returned.
func (*RequestError) Error ¶
func (err *RequestError) Error() string
Error returns a rudimentary string representation of the BadRequest error.
func (*RequestError) SeqID ¶ added in v1.1.0
func (err *RequestError) SeqID() uint16
SeqID returns the sequence id attached to the BadRequest error. This is mostly used internally.
type ResizeRequestEvent ¶
type ResizeRequestEvent struct { Sequence uint16 // padding: 1 bytes Window Window Width uint16 Height uint16 }
func (*ResizeRequestEvent) Bytes ¶
func (v *ResizeRequestEvent) Bytes() []byte
Bytes writes a ResizeRequestEvent value to a byte slice.
func (*ResizeRequestEvent) SeqID ¶ added in v1.1.0
func (v *ResizeRequestEvent) SeqID() uint16
SeqID returns the sequence id attached to the ResizeRequest event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type ScreenInfo ¶
type ScreenInfo struct { Root Window DefaultColormap Colormap WhitePixel uint32 BlackPixel uint32 CurrentInputMasks uint32 WidthInPixels uint16 HeightInPixels uint16 WidthInMillimeters uint16 HeightInMillimeters uint16 MinInstalledMaps uint16 MaxInstalledMaps uint16 RootVisual Visualid BackingStores byte SaveUnders bool RootDepth byte AllowedDepthsLen byte AllowedDepths []DepthInfo // size: DepthInfoListSize(AllowedDepths) }
func (ScreenInfo) Bytes ¶
func (v ScreenInfo) Bytes() []byte
Bytes writes a ScreenInfo value to a byte slice.
type SelectionClearEvent ¶
type SelectionClearEvent struct { Sequence uint16 // padding: 1 bytes Time Timestamp Owner Window Selection Atom }
func (*SelectionClearEvent) Bytes ¶
func (v *SelectionClearEvent) Bytes() []byte
Bytes writes a SelectionClearEvent value to a byte slice.
func (*SelectionClearEvent) SeqID ¶ added in v1.1.0
func (v *SelectionClearEvent) SeqID() uint16
SeqID returns the sequence id attached to the SelectionClear event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type SelectionNotifyEvent ¶
type SelectionNotifyEvent struct { Sequence uint16 // padding: 1 bytes Time Timestamp Requestor Window Selection Atom Target Atom Property Atom }
func (*SelectionNotifyEvent) Bytes ¶
func (v *SelectionNotifyEvent) Bytes() []byte
Bytes writes a SelectionNotifyEvent value to a byte slice.
func (*SelectionNotifyEvent) SeqID ¶ added in v1.1.0
func (v *SelectionNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the SelectionNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type SelectionRequestEvent ¶
type SelectionRequestEvent struct { Sequence uint16 // padding: 1 bytes Time Timestamp Owner Window Requestor Window Selection Atom Target Atom Property Atom }
func (*SelectionRequestEvent) Bytes ¶
func (v *SelectionRequestEvent) Bytes() []byte
Bytes writes a SelectionRequestEvent value to a byte slice.
func (*SelectionRequestEvent) SeqID ¶ added in v1.1.0
func (v *SelectionRequestEvent) SeqID() uint16
SeqID returns the sequence id attached to the SelectionRequest event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type SetModifierMappingReply ¶
type SetModifierMappingReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply Status byte }
SetModifierMappingReply represents the data returned from a SetModifierMapping request.
func SetModifierMapping ¶
func SetModifierMapping(c *xgb.XConn, KeycodesPerModifier byte, Keycodes []Keycode) (SetModifierMappingReply, error)
SetModifierMapping sends a checked request.
func (*SetModifierMappingReply) Unmarshal ¶ added in v1.1.0
func (v *SetModifierMappingReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a SetModifierMappingReply value.
type SetPointerMappingReply ¶
type SetPointerMappingReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply Status byte }
SetPointerMappingReply represents the data returned from a SetPointerMapping request.
func SetPointerMapping ¶
func SetPointerMapping(c *xgb.XConn, MapLen byte, Map []byte) (SetPointerMappingReply, error)
SetPointerMapping sends a checked request.
func (*SetPointerMappingReply) Unmarshal ¶ added in v1.1.0
func (v *SetPointerMappingReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a SetPointerMappingReply value.
type SetupAuthenticate ¶
type SetupAuthenticate struct { Status byte // padding: 5 bytes Length uint16 Reason string // size: internal.Pad4(((int(Length) * 4) * 1)) }
func (SetupAuthenticate) Bytes ¶
func (v SetupAuthenticate) Bytes() []byte
Bytes writes a SetupAuthenticate value to a byte slice.
type SetupFailed ¶
type SetupFailed struct { Status byte ReasonLen byte ProtocolMajorVersion uint16 ProtocolMinorVersion uint16 Length uint16 Reason string // size: internal.Pad4((int(ReasonLen) * 1)) }
func (SetupFailed) Bytes ¶
func (v SetupFailed) Bytes() []byte
Bytes writes a SetupFailed value to a byte slice.
type SetupInfo ¶
type SetupInfo struct { Status byte // padding: 1 bytes ProtocolMajorVersion uint16 ProtocolMinorVersion uint16 Length uint16 ReleaseNumber uint32 ResourceIdBase uint32 ResourceIdMask uint32 MotionBufferSize uint32 VendorLen uint16 MaximumRequestLength uint16 RootsLen byte PixmapFormatsLen byte ImageByteOrder byte BitmapFormatBitOrder byte BitmapFormatScanlineUnit byte BitmapFormatScanlinePad byte MinKeycode Keycode MaxKeycode Keycode // padding: 4 bytes Vendor string // size: internal.Pad4((int(VendorLen) * 1)) // padding: 0 bytes PixmapFormats []Format // size: internal.Pad4((int(PixmapFormatsLen) * 8)) Roots []ScreenInfo // size: ScreenInfoListSize(Roots) }
type SetupRequest ¶
type SetupRequest struct { ByteOrder byte // padding: 1 bytes ProtocolMajorVersion uint16 ProtocolMinorVersion uint16 AuthorizationProtocolNameLen uint16 AuthorizationProtocolDataLen uint16 // padding: 2 bytes AuthorizationProtocolName string // size: internal.Pad4((int(AuthorizationProtocolNameLen) * 1)) // padding: 0 bytes AuthorizationProtocolData string // size: internal.Pad4((int(AuthorizationProtocolDataLen) * 1)) }
func (SetupRequest) Bytes ¶
func (v SetupRequest) Bytes() []byte
Bytes writes a SetupRequest value to a byte slice.
type TranslateCoordinatesReply ¶
type TranslateCoordinatesReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply SameScreen bool Child Window DstX int16 DstY int16 }
TranslateCoordinatesReply represents the data returned from a TranslateCoordinates request.
func TranslateCoordinates ¶
func TranslateCoordinates(c *xgb.XConn, SrcWindow Window, DstWindow Window, SrcX int16, SrcY int16) (TranslateCoordinatesReply, error)
TranslateCoordinates sends a checked request.
func (*TranslateCoordinatesReply) Unmarshal ¶ added in v1.1.0
func (v *TranslateCoordinatesReply) Unmarshal(buf []byte) error
Unmarshal reads a byte slice into a TranslateCoordinatesReply value.
type UnmapNotifyEvent ¶
type UnmapNotifyEvent struct { Sequence uint16 // padding: 1 bytes Event Window Window Window FromConfigure bool }
func (*UnmapNotifyEvent) Bytes ¶
func (v *UnmapNotifyEvent) Bytes() []byte
Bytes writes a UnmapNotifyEvent value to a byte slice.
func (*UnmapNotifyEvent) SeqID ¶ added in v1.1.0
func (v *UnmapNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the UnmapNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type ValueError ¶
type ValueError struct { Sequence uint16 NiceName string BadValue uint32 MinorOpcode uint16 MajorOpcode byte }
func (*ValueError) BadID ¶ added in v1.1.0
func (err *ValueError) BadID() uint32
BadID returns the 'BadValue' number if one exists for the BadValue error. If no bad value exists, 0 is returned.
func (*ValueError) Error ¶
func (err *ValueError) Error() string
Error returns a rudimentary string representation of the BadValue error.
func (*ValueError) SeqID ¶ added in v1.1.0
func (err *ValueError) SeqID() uint16
SeqID returns the sequence id attached to the BadValue error. This is mostly used internally.
type VisibilityNotifyEvent ¶
func (*VisibilityNotifyEvent) Bytes ¶
func (v *VisibilityNotifyEvent) Bytes() []byte
Bytes writes a VisibilityNotifyEvent value to a byte slice.
func (*VisibilityNotifyEvent) SeqID ¶ added in v1.1.0
func (v *VisibilityNotifyEvent) SeqID() uint16
SeqID returns the sequence id attached to the VisibilityNotify event. Events without a sequence number (KeymapNotify) return 0. This is mostly used internally.
type VisualInfo ¶
type VisualInfo struct { VisualId Visualid Class byte BitsPerRgbValue byte ColormapEntries uint16 RedMask uint32 GreenMask uint32 BlueMask uint32 }
func (VisualInfo) Bytes ¶
func (v VisualInfo) Bytes() []byte
Bytes writes a VisualInfo value to a byte slice.
type Window ¶
type Window uint32
func NewWindowID ¶ added in v1.1.0
func NewWindowID(c *xgb.XConn) Window
type WindowError ¶
type WindowError ValueError
func (*WindowError) BadID ¶ added in v1.1.0
func (err *WindowError) BadID() uint32
BadId returns the 'BadValue' number if one exists for the BadWindow error. If no bad value exists, 0 is returned.
func (*WindowError) Error ¶
func (err *WindowError) Error() string
Error returns a rudimentary string representation of the BadWindow error.
func (*WindowError) SeqID ¶ added in v1.1.0
func (err *WindowError) SeqID() uint16
SequenceId returns the sequence id attached to the BadWindow error. This is mostly used internally.