xgb: github.com/BurntSushi/xgb/composite Index | Files

package composite

import "github.com/BurntSushi/xgb/composite"

Package composite is the X client API for the Composite extension.

Index

Package Files

composite.go

Constants

const (
    RedirectAutomatic = 0
    RedirectManual    = 1
)

func Init Uses

func Init(c *xgb.Conn) error

Init must be called before using the Composite extension.

type CreateRegionFromBorderClipCookie Uses

type CreateRegionFromBorderClipCookie struct {
    *xgb.Cookie
}

CreateRegionFromBorderClipCookie is a cookie used only for CreateRegionFromBorderClip requests.

func CreateRegionFromBorderClip Uses

func CreateRegionFromBorderClip(c *xgb.Conn, Region xfixes.Region, Window xproto.Window) CreateRegionFromBorderClipCookie

CreateRegionFromBorderClip sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func CreateRegionFromBorderClipChecked Uses

func CreateRegionFromBorderClipChecked(c *xgb.Conn, Region xfixes.Region, Window xproto.Window) CreateRegionFromBorderClipCookie

CreateRegionFromBorderClipChecked sends a checked request. If an error occurs, it can be retrieved using CreateRegionFromBorderClipCookie.Check()

func (CreateRegionFromBorderClipCookie) Check Uses

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 Uses

type GetOverlayWindowCookie struct {
    *xgb.Cookie
}

GetOverlayWindowCookie is a cookie used only for GetOverlayWindow requests.

func GetOverlayWindow Uses

func GetOverlayWindow(c *xgb.Conn, Window xproto.Window) GetOverlayWindowCookie

GetOverlayWindow sends a checked request. If an error occurs, it will be returned with the reply by calling GetOverlayWindowCookie.Reply()

func GetOverlayWindowUnchecked Uses

func GetOverlayWindowUnchecked(c *xgb.Conn, Window xproto.Window) GetOverlayWindowCookie

GetOverlayWindowUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func (GetOverlayWindowCookie) Reply Uses

func (cook GetOverlayWindowCookie) Reply() (*GetOverlayWindowReply, error)

Reply blocks and returns the reply data for a GetOverlayWindow request.

type GetOverlayWindowReply Uses

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 Uses

type NameWindowPixmapCookie struct {
    *xgb.Cookie
}

NameWindowPixmapCookie is a cookie used only for NameWindowPixmap requests.

func NameWindowPixmap Uses

func NameWindowPixmap(c *xgb.Conn, Window xproto.Window, Pixmap xproto.Pixmap) NameWindowPixmapCookie

NameWindowPixmap sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func NameWindowPixmapChecked Uses

func NameWindowPixmapChecked(c *xgb.Conn, Window xproto.Window, Pixmap xproto.Pixmap) NameWindowPixmapCookie

NameWindowPixmapChecked sends a checked request. If an error occurs, it can be retrieved using NameWindowPixmapCookie.Check()

func (NameWindowPixmapCookie) Check Uses

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 Uses

type QueryVersionCookie struct {
    *xgb.Cookie
}

QueryVersionCookie is a cookie used only for QueryVersion requests.

func QueryVersion Uses

func QueryVersion(c *xgb.Conn, ClientMajorVersion uint32, ClientMinorVersion uint32) QueryVersionCookie

QueryVersion sends a checked request. If an error occurs, it will be returned with the reply by calling QueryVersionCookie.Reply()

func QueryVersionUnchecked Uses

func QueryVersionUnchecked(c *xgb.Conn, ClientMajorVersion uint32, ClientMinorVersion uint32) QueryVersionCookie

QueryVersionUnchecked sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func (QueryVersionCookie) Reply Uses

func (cook QueryVersionCookie) Reply() (*QueryVersionReply, error)

Reply blocks and returns the reply data for a QueryVersion request.

type QueryVersionReply Uses

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 Uses

type RedirectSubwindowsCookie struct {
    *xgb.Cookie
}

RedirectSubwindowsCookie is a cookie used only for RedirectSubwindows requests.

func RedirectSubwindows Uses

func RedirectSubwindows(c *xgb.Conn, Window xproto.Window, Update byte) RedirectSubwindowsCookie

RedirectSubwindows sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func RedirectSubwindowsChecked Uses

func RedirectSubwindowsChecked(c *xgb.Conn, Window xproto.Window, Update byte) RedirectSubwindowsCookie

RedirectSubwindowsChecked sends a checked request. If an error occurs, it can be retrieved using RedirectSubwindowsCookie.Check()

func (RedirectSubwindowsCookie) Check Uses

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 Uses

type RedirectWindowCookie struct {
    *xgb.Cookie
}

RedirectWindowCookie is a cookie used only for RedirectWindow requests.

func RedirectWindow Uses

func RedirectWindow(c *xgb.Conn, Window xproto.Window, Update byte) RedirectWindowCookie

RedirectWindow sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func RedirectWindowChecked Uses

func RedirectWindowChecked(c *xgb.Conn, Window xproto.Window, Update byte) RedirectWindowCookie

RedirectWindowChecked sends a checked request. If an error occurs, it can be retrieved using RedirectWindowCookie.Check()

func (RedirectWindowCookie) Check Uses

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 Uses

type ReleaseOverlayWindowCookie struct {
    *xgb.Cookie
}

ReleaseOverlayWindowCookie is a cookie used only for ReleaseOverlayWindow requests.

func ReleaseOverlayWindow Uses

func ReleaseOverlayWindow(c *xgb.Conn, Window xproto.Window) ReleaseOverlayWindowCookie

ReleaseOverlayWindow sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func ReleaseOverlayWindowChecked Uses

func ReleaseOverlayWindowChecked(c *xgb.Conn, Window xproto.Window) ReleaseOverlayWindowCookie

ReleaseOverlayWindowChecked sends a checked request. If an error occurs, it can be retrieved using ReleaseOverlayWindowCookie.Check()

func (ReleaseOverlayWindowCookie) Check Uses

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 Uses

type UnredirectSubwindowsCookie struct {
    *xgb.Cookie
}

UnredirectSubwindowsCookie is a cookie used only for UnredirectSubwindows requests.

func UnredirectSubwindows Uses

func UnredirectSubwindows(c *xgb.Conn, Window xproto.Window, Update byte) UnredirectSubwindowsCookie

UnredirectSubwindows sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func UnredirectSubwindowsChecked Uses

func UnredirectSubwindowsChecked(c *xgb.Conn, Window xproto.Window, Update byte) UnredirectSubwindowsCookie

UnredirectSubwindowsChecked sends a checked request. If an error occurs, it can be retrieved using UnredirectSubwindowsCookie.Check()

func (UnredirectSubwindowsCookie) Check Uses

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 Uses

type UnredirectWindowCookie struct {
    *xgb.Cookie
}

UnredirectWindowCookie is a cookie used only for UnredirectWindow requests.

func UnredirectWindow Uses

func UnredirectWindow(c *xgb.Conn, Window xproto.Window, Update byte) UnredirectWindowCookie

UnredirectWindow sends an unchecked request. If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.

func UnredirectWindowChecked Uses

func UnredirectWindowChecked(c *xgb.Conn, Window xproto.Window, Update byte) UnredirectWindowCookie

UnredirectWindowChecked sends a checked request. If an error occurs, it can be retrieved using UnredirectWindowCookie.Check()

func (UnredirectWindowCookie) Check Uses

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.

Package composite imports 3 packages (graph) and is imported by 2 packages. Updated 2016-11-06. Refresh now. Tools for package owners.