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

package xevie

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

Package xevie is the X client API for the XEVIE extension.

Index

Package Files

xevie.go

Constants

const (
    DatatypeUnmodified = 0
    DatatypeModified   = 1
)

func EventListBytes Uses

func EventListBytes(buf []byte, list []Event) int

EventListBytes writes a list of Event values to a byte slice.

func EventRead Uses

func EventRead(buf []byte, v *Event) int

EventRead reads a byte slice into a Event value.

func EventReadList Uses

func EventReadList(buf []byte, dest []Event) int

EventReadList reads a byte slice into a list of Event values.

func Init Uses

func Init(c *xgb.Conn) error

Init must be called before using the XEVIE extension.

type EndCookie Uses

type EndCookie struct {
    *xgb.Cookie
}

EndCookie is a cookie used only for End requests.

func End Uses

func End(c *xgb.Conn, Cmap uint32) EndCookie

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

func EndUnchecked Uses

func EndUnchecked(c *xgb.Conn, Cmap uint32) EndCookie

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

func (EndCookie) Reply Uses

func (cook EndCookie) Reply() (*EndReply, error)

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

type EndReply Uses

type EndReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply

}

EndReply represents the data returned from a End request.

type Event Uses

type Event struct {
}

func (Event) Bytes Uses

func (v Event) Bytes() []byte

Bytes writes a Event value to a byte slice.

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 uint16, ClientMinorVersion uint16) 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 uint16, ClientMinorVersion uint16) 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
    ServerMajorVersion uint16
    ServerMinorVersion uint16
}

QueryVersionReply represents the data returned from a QueryVersion request.

type SelectInputCookie Uses

type SelectInputCookie struct {
    *xgb.Cookie
}

SelectInputCookie is a cookie used only for SelectInput requests.

func SelectInput Uses

func SelectInput(c *xgb.Conn, EventMask uint32) SelectInputCookie

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

func SelectInputUnchecked Uses

func SelectInputUnchecked(c *xgb.Conn, EventMask uint32) SelectInputCookie

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

func (SelectInputCookie) Reply Uses

func (cook SelectInputCookie) Reply() (*SelectInputReply, error)

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

type SelectInputReply Uses

type SelectInputReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply

}

SelectInputReply represents the data returned from a SelectInput request.

type SendCookie Uses

type SendCookie struct {
    *xgb.Cookie
}

SendCookie is a cookie used only for Send requests.

func Send Uses

func Send(c *xgb.Conn, Event Event, DataType uint32) SendCookie

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

func SendUnchecked Uses

func SendUnchecked(c *xgb.Conn, Event Event, DataType uint32) SendCookie

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

func (SendCookie) Reply Uses

func (cook SendCookie) Reply() (*SendReply, error)

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

type SendReply Uses

type SendReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply

}

SendReply represents the data returned from a Send request.

type StartCookie Uses

type StartCookie struct {
    *xgb.Cookie
}

StartCookie is a cookie used only for Start requests.

func Start Uses

func Start(c *xgb.Conn, Screen uint32) StartCookie

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

func StartUnchecked Uses

func StartUnchecked(c *xgb.Conn, Screen uint32) StartCookie

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

func (StartCookie) Reply Uses

func (cook StartCookie) Reply() (*StartReply, error)

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

type StartReply Uses

type StartReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply

}

StartReply represents the data returned from a Start request.

Package xevie imports 2 packages (graph). Updated 2016-11-06. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).