Documentation
¶
Overview ¶
Package composite is the X client API for the Composite extension.
Index ¶
- Constants
- func Init(c *xgb.Conn) error
- type CreateRegionFromBorderClipCookie
- type GetOverlayWindowCookie
- type GetOverlayWindowReply
- type NameWindowPixmapCookie
- type QueryVersionCookie
- type QueryVersionReply
- type RedirectSubwindowsCookie
- type RedirectWindowCookie
- type ReleaseOverlayWindowCookie
- type UnredirectSubwindowsCookie
- type UnredirectWindowCookie
Constants ¶
const ( RedirectAutomatic = 0 RedirectManual = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateRegionFromBorderClipCookie ¶
CreateRegionFromBorderClipCookie is a cookie used only for CreateRegionFromBorderClip requests.
func CreateRegionFromBorderClip ¶
func CreateRegionFromBorderClip(c *xgb.Conn, buf []byte, Region xfixes.Region, Window xproto.Window) (CreateRegionFromBorderClipCookie, []byte)
CreateRegionFromBorderClip sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func CreateRegionFromBorderClipChecked ¶
func CreateRegionFromBorderClipChecked(c *xgb.Conn, buf []byte, Region xfixes.Region, Window xproto.Window) (CreateRegionFromBorderClipCookie, []byte)
CreateRegionFromBorderClipChecked sends a checked request. If an error occurs, it can be retrieved using CreateRegionFromBorderClipCookie.Check()
func (CreateRegionFromBorderClipCookie) Check ¶
func (cook CreateRegionFromBorderClipCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type GetOverlayWindowCookie ¶
GetOverlayWindowCookie is a cookie used only for GetOverlayWindow requests.
func GetOverlayWindow ¶
func GetOverlayWindow(c *xgb.Conn, buf []byte, Window xproto.Window) (GetOverlayWindowCookie, []byte)
GetOverlayWindow sends a checked request. If an error occurs, it will be returned with the reply by calling GetOverlayWindowCookie.Reply()
func GetOverlayWindowUnchecked ¶
func GetOverlayWindowUnchecked(c *xgb.Conn, buf []byte, Window xproto.Window) (GetOverlayWindowCookie, []byte)
GetOverlayWindowUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (GetOverlayWindowCookie) Reply ¶
func (cook GetOverlayWindowCookie) Reply() (*GetOverlayWindowReply, error)
Reply blocks and returns the reply data for a GetOverlayWindow request.
type GetOverlayWindowReply ¶
type GetOverlayWindowReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes OverlayWin xproto.Window }
GetOverlayWindowReply represents the data returned from a GetOverlayWindow request.
type NameWindowPixmapCookie ¶
NameWindowPixmapCookie is a cookie used only for NameWindowPixmap requests.
func NameWindowPixmap ¶
func NameWindowPixmap(c *xgb.Conn, buf []byte, Window xproto.Window, Pixmap xproto.Pixmap) (NameWindowPixmapCookie, []byte)
NameWindowPixmap sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func NameWindowPixmapChecked ¶
func NameWindowPixmapChecked(c *xgb.Conn, buf []byte, Window xproto.Window, Pixmap xproto.Pixmap) (NameWindowPixmapCookie, []byte)
NameWindowPixmapChecked sends a checked request. If an error occurs, it can be retrieved using NameWindowPixmapCookie.Check()
func (NameWindowPixmapCookie) Check ¶
func (cook NameWindowPixmapCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type QueryVersionCookie ¶
QueryVersionCookie is a cookie used only for QueryVersion requests.
func QueryVersion ¶
func QueryVersion(c *xgb.Conn, buf []byte, ClientMajorVersion uint32, ClientMinorVersion uint32) (QueryVersionCookie, []byte)
QueryVersion sends a checked request. If an error occurs, it will be returned with the reply by calling QueryVersionCookie.Reply()
func QueryVersionUnchecked ¶
func QueryVersionUnchecked(c *xgb.Conn, buf []byte, ClientMajorVersion uint32, ClientMinorVersion uint32) (QueryVersionCookie, []byte)
QueryVersionUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func (QueryVersionCookie) Reply ¶
func (cook QueryVersionCookie) Reply() (*QueryVersionReply, error)
Reply blocks and returns the reply data for a QueryVersion request.
type QueryVersionReply ¶
type QueryVersionReply struct { Sequence uint16 // sequence number of the request for this reply Length uint32 // number of bytes in this reply // padding: 1 bytes MajorVersion uint32 MinorVersion uint32 }
QueryVersionReply represents the data returned from a QueryVersion request.
type RedirectSubwindowsCookie ¶
RedirectSubwindowsCookie is a cookie used only for RedirectSubwindows requests.
func RedirectSubwindows ¶
func RedirectSubwindows(c *xgb.Conn, buf []byte, Window xproto.Window, Update byte) (RedirectSubwindowsCookie, []byte)
RedirectSubwindows sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func RedirectSubwindowsChecked ¶
func RedirectSubwindowsChecked(c *xgb.Conn, buf []byte, Window xproto.Window, Update byte) (RedirectSubwindowsCookie, []byte)
RedirectSubwindowsChecked sends a checked request. If an error occurs, it can be retrieved using RedirectSubwindowsCookie.Check()
func (RedirectSubwindowsCookie) Check ¶
func (cook RedirectSubwindowsCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type RedirectWindowCookie ¶
RedirectWindowCookie is a cookie used only for RedirectWindow requests.
func RedirectWindow ¶
func RedirectWindow(c *xgb.Conn, buf []byte, Window xproto.Window, Update byte) (RedirectWindowCookie, []byte)
RedirectWindow sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func RedirectWindowChecked ¶
func RedirectWindowChecked(c *xgb.Conn, buf []byte, Window xproto.Window, Update byte) (RedirectWindowCookie, []byte)
RedirectWindowChecked sends a checked request. If an error occurs, it can be retrieved using RedirectWindowCookie.Check()
func (RedirectWindowCookie) Check ¶
func (cook RedirectWindowCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type ReleaseOverlayWindowCookie ¶
ReleaseOverlayWindowCookie is a cookie used only for ReleaseOverlayWindow requests.
func ReleaseOverlayWindow ¶
func ReleaseOverlayWindow(c *xgb.Conn, buf []byte, Window xproto.Window) (ReleaseOverlayWindowCookie, []byte)
ReleaseOverlayWindow sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func ReleaseOverlayWindowChecked ¶
func ReleaseOverlayWindowChecked(c *xgb.Conn, buf []byte, Window xproto.Window) (ReleaseOverlayWindowCookie, []byte)
ReleaseOverlayWindowChecked sends a checked request. If an error occurs, it can be retrieved using ReleaseOverlayWindowCookie.Check()
func (ReleaseOverlayWindowCookie) Check ¶
func (cook ReleaseOverlayWindowCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type UnredirectSubwindowsCookie ¶
UnredirectSubwindowsCookie is a cookie used only for UnredirectSubwindows requests.
func UnredirectSubwindows ¶
func UnredirectSubwindows(c *xgb.Conn, buf []byte, Window xproto.Window, Update byte) (UnredirectSubwindowsCookie, []byte)
UnredirectSubwindows sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func UnredirectSubwindowsChecked ¶
func UnredirectSubwindowsChecked(c *xgb.Conn, buf []byte, Window xproto.Window, Update byte) (UnredirectSubwindowsCookie, []byte)
UnredirectSubwindowsChecked sends a checked request. If an error occurs, it can be retrieved using UnredirectSubwindowsCookie.Check()
func (UnredirectSubwindowsCookie) Check ¶
func (cook UnredirectSubwindowsCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.
type UnredirectWindowCookie ¶
UnredirectWindowCookie is a cookie used only for UnredirectWindow requests.
func UnredirectWindow ¶
func UnredirectWindow(c *xgb.Conn, buf []byte, Window xproto.Window, Update byte) (UnredirectWindowCookie, []byte)
UnredirectWindow sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func UnredirectWindowChecked ¶
func UnredirectWindowChecked(c *xgb.Conn, buf []byte, Window xproto.Window, Update byte) (UnredirectWindowCookie, []byte)
UnredirectWindowChecked sends a checked request. If an error occurs, it can be retrieved using UnredirectWindowCookie.Check()
func (UnredirectWindowCookie) Check ¶
func (cook UnredirectWindowCookie) Check() error
Check returns an error if one occurred for checked requests that are not expecting a reply. This cannot be called for requests expecting a reply, nor for unchecked requests.