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

package xselinux

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

Package xselinux is the X client API for the SELinux extension.

Index

Package Files

xselinux.go

func Init Uses

func Init(c *xgb.Conn) error

Init must be called before using the SELinux extension.

func ListItemListBytes Uses

func ListItemListBytes(buf []byte, list []ListItem) int

ListItemListBytes writes a list of ListItem values to a byte slice.

func ListItemListSize Uses

func ListItemListSize(list []ListItem) int

ListItemListSize computes the size (bytes) of a list of ListItem values.

func ListItemRead Uses

func ListItemRead(buf []byte, v *ListItem) int

ListItemRead reads a byte slice into a ListItem value.

func ListItemReadList Uses

func ListItemReadList(buf []byte, dest []ListItem) int

ListItemReadList reads a byte slice into a list of ListItem values.

type GetClientContextCookie Uses

type GetClientContextCookie struct {
    *xgb.Cookie
}

GetClientContextCookie is a cookie used only for GetClientContext requests.

func GetClientContext Uses

func GetClientContext(c *xgb.Conn, Resource uint32) GetClientContextCookie

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

func GetClientContextUnchecked Uses

func GetClientContextUnchecked(c *xgb.Conn, Resource uint32) GetClientContextCookie

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

func (GetClientContextCookie) Reply Uses

func (cook GetClientContextCookie) Reply() (*GetClientContextReply, error)

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

type GetClientContextReply Uses

type GetClientContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetClientContextReply represents the data returned from a GetClientContext request.

type GetDeviceContextCookie Uses

type GetDeviceContextCookie struct {
    *xgb.Cookie
}

GetDeviceContextCookie is a cookie used only for GetDeviceContext requests.

func GetDeviceContext Uses

func GetDeviceContext(c *xgb.Conn, Device uint32) GetDeviceContextCookie

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

func GetDeviceContextUnchecked Uses

func GetDeviceContextUnchecked(c *xgb.Conn, Device uint32) GetDeviceContextCookie

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

func (GetDeviceContextCookie) Reply Uses

func (cook GetDeviceContextCookie) Reply() (*GetDeviceContextReply, error)

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

type GetDeviceContextReply Uses

type GetDeviceContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetDeviceContextReply represents the data returned from a GetDeviceContext request.

type GetDeviceCreateContextCookie Uses

type GetDeviceCreateContextCookie struct {
    *xgb.Cookie
}

GetDeviceCreateContextCookie is a cookie used only for GetDeviceCreateContext requests.

func GetDeviceCreateContext Uses

func GetDeviceCreateContext(c *xgb.Conn) GetDeviceCreateContextCookie

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

func GetDeviceCreateContextUnchecked Uses

func GetDeviceCreateContextUnchecked(c *xgb.Conn) GetDeviceCreateContextCookie

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

func (GetDeviceCreateContextCookie) Reply Uses

func (cook GetDeviceCreateContextCookie) Reply() (*GetDeviceCreateContextReply, error)

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

type GetDeviceCreateContextReply Uses

type GetDeviceCreateContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetDeviceCreateContextReply represents the data returned from a GetDeviceCreateContext request.

type GetPropertyContextCookie Uses

type GetPropertyContextCookie struct {
    *xgb.Cookie
}

GetPropertyContextCookie is a cookie used only for GetPropertyContext requests.

func GetPropertyContext Uses

func GetPropertyContext(c *xgb.Conn, Window xproto.Window, Property xproto.Atom) GetPropertyContextCookie

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

func GetPropertyContextUnchecked Uses

func GetPropertyContextUnchecked(c *xgb.Conn, Window xproto.Window, Property xproto.Atom) GetPropertyContextCookie

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

func (GetPropertyContextCookie) Reply Uses

func (cook GetPropertyContextCookie) Reply() (*GetPropertyContextReply, error)

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

type GetPropertyContextReply Uses

type GetPropertyContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetPropertyContextReply represents the data returned from a GetPropertyContext request.

type GetPropertyCreateContextCookie Uses

type GetPropertyCreateContextCookie struct {
    *xgb.Cookie
}

GetPropertyCreateContextCookie is a cookie used only for GetPropertyCreateContext requests.

func GetPropertyCreateContext Uses

func GetPropertyCreateContext(c *xgb.Conn) GetPropertyCreateContextCookie

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

func GetPropertyCreateContextUnchecked Uses

func GetPropertyCreateContextUnchecked(c *xgb.Conn) GetPropertyCreateContextCookie

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

func (GetPropertyCreateContextCookie) Reply Uses

func (cook GetPropertyCreateContextCookie) Reply() (*GetPropertyCreateContextReply, error)

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

type GetPropertyCreateContextReply Uses

type GetPropertyCreateContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetPropertyCreateContextReply represents the data returned from a GetPropertyCreateContext request.

type GetPropertyDataContextCookie Uses

type GetPropertyDataContextCookie struct {
    *xgb.Cookie
}

GetPropertyDataContextCookie is a cookie used only for GetPropertyDataContext requests.

func GetPropertyDataContext Uses

func GetPropertyDataContext(c *xgb.Conn, Window xproto.Window, Property xproto.Atom) GetPropertyDataContextCookie

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

func GetPropertyDataContextUnchecked Uses

func GetPropertyDataContextUnchecked(c *xgb.Conn, Window xproto.Window, Property xproto.Atom) GetPropertyDataContextCookie

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

func (GetPropertyDataContextCookie) Reply Uses

func (cook GetPropertyDataContextCookie) Reply() (*GetPropertyDataContextReply, error)

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

type GetPropertyDataContextReply Uses

type GetPropertyDataContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetPropertyDataContextReply represents the data returned from a GetPropertyDataContext request.

type GetPropertyUseContextCookie Uses

type GetPropertyUseContextCookie struct {
    *xgb.Cookie
}

GetPropertyUseContextCookie is a cookie used only for GetPropertyUseContext requests.

func GetPropertyUseContext Uses

func GetPropertyUseContext(c *xgb.Conn) GetPropertyUseContextCookie

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

func GetPropertyUseContextUnchecked Uses

func GetPropertyUseContextUnchecked(c *xgb.Conn) GetPropertyUseContextCookie

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

func (GetPropertyUseContextCookie) Reply Uses

func (cook GetPropertyUseContextCookie) Reply() (*GetPropertyUseContextReply, error)

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

type GetPropertyUseContextReply Uses

type GetPropertyUseContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetPropertyUseContextReply represents the data returned from a GetPropertyUseContext request.

type GetSelectionContextCookie Uses

type GetSelectionContextCookie struct {
    *xgb.Cookie
}

GetSelectionContextCookie is a cookie used only for GetSelectionContext requests.

func GetSelectionContext Uses

func GetSelectionContext(c *xgb.Conn, Selection xproto.Atom) GetSelectionContextCookie

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

func GetSelectionContextUnchecked Uses

func GetSelectionContextUnchecked(c *xgb.Conn, Selection xproto.Atom) GetSelectionContextCookie

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

func (GetSelectionContextCookie) Reply Uses

func (cook GetSelectionContextCookie) Reply() (*GetSelectionContextReply, error)

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

type GetSelectionContextReply Uses

type GetSelectionContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetSelectionContextReply represents the data returned from a GetSelectionContext request.

type GetSelectionCreateContextCookie Uses

type GetSelectionCreateContextCookie struct {
    *xgb.Cookie
}

GetSelectionCreateContextCookie is a cookie used only for GetSelectionCreateContext requests.

func GetSelectionCreateContext Uses

func GetSelectionCreateContext(c *xgb.Conn) GetSelectionCreateContextCookie

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

func GetSelectionCreateContextUnchecked Uses

func GetSelectionCreateContextUnchecked(c *xgb.Conn) GetSelectionCreateContextCookie

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

func (GetSelectionCreateContextCookie) Reply Uses

func (cook GetSelectionCreateContextCookie) Reply() (*GetSelectionCreateContextReply, error)

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

type GetSelectionCreateContextReply Uses

type GetSelectionCreateContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetSelectionCreateContextReply represents the data returned from a GetSelectionCreateContext request.

type GetSelectionDataContextCookie Uses

type GetSelectionDataContextCookie struct {
    *xgb.Cookie
}

GetSelectionDataContextCookie is a cookie used only for GetSelectionDataContext requests.

func GetSelectionDataContext Uses

func GetSelectionDataContext(c *xgb.Conn, Selection xproto.Atom) GetSelectionDataContextCookie

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

func GetSelectionDataContextUnchecked Uses

func GetSelectionDataContextUnchecked(c *xgb.Conn, Selection xproto.Atom) GetSelectionDataContextCookie

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

func (GetSelectionDataContextCookie) Reply Uses

func (cook GetSelectionDataContextCookie) Reply() (*GetSelectionDataContextReply, error)

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

type GetSelectionDataContextReply Uses

type GetSelectionDataContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetSelectionDataContextReply represents the data returned from a GetSelectionDataContext request.

type GetSelectionUseContextCookie Uses

type GetSelectionUseContextCookie struct {
    *xgb.Cookie
}

GetSelectionUseContextCookie is a cookie used only for GetSelectionUseContext requests.

func GetSelectionUseContext Uses

func GetSelectionUseContext(c *xgb.Conn) GetSelectionUseContextCookie

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

func GetSelectionUseContextUnchecked Uses

func GetSelectionUseContextUnchecked(c *xgb.Conn) GetSelectionUseContextCookie

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

func (GetSelectionUseContextCookie) Reply Uses

func (cook GetSelectionUseContextCookie) Reply() (*GetSelectionUseContextReply, error)

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

type GetSelectionUseContextReply Uses

type GetSelectionUseContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetSelectionUseContextReply represents the data returned from a GetSelectionUseContext request.

type GetWindowContextCookie Uses

type GetWindowContextCookie struct {
    *xgb.Cookie
}

GetWindowContextCookie is a cookie used only for GetWindowContext requests.

func GetWindowContext Uses

func GetWindowContext(c *xgb.Conn, Window xproto.Window) GetWindowContextCookie

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

func GetWindowContextUnchecked Uses

func GetWindowContextUnchecked(c *xgb.Conn, Window xproto.Window) GetWindowContextCookie

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

func (GetWindowContextCookie) Reply Uses

func (cook GetWindowContextCookie) Reply() (*GetWindowContextReply, error)

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

type GetWindowContextReply Uses

type GetWindowContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetWindowContextReply represents the data returned from a GetWindowContext request.

type GetWindowCreateContextCookie Uses

type GetWindowCreateContextCookie struct {
    *xgb.Cookie
}

GetWindowCreateContextCookie is a cookie used only for GetWindowCreateContext requests.

func GetWindowCreateContext Uses

func GetWindowCreateContext(c *xgb.Conn) GetWindowCreateContextCookie

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

func GetWindowCreateContextUnchecked Uses

func GetWindowCreateContextUnchecked(c *xgb.Conn) GetWindowCreateContextCookie

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

func (GetWindowCreateContextCookie) Reply Uses

func (cook GetWindowCreateContextCookie) Reply() (*GetWindowCreateContextReply, error)

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

type GetWindowCreateContextReply Uses

type GetWindowCreateContextReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    ContextLen uint32
    // padding: 20 bytes
    Context string // size: xgb.Pad((int(ContextLen) * 1))
}

GetWindowCreateContextReply represents the data returned from a GetWindowCreateContext request.

type ListItem Uses

type ListItem struct {
    Name             xproto.Atom
    ObjectContextLen uint32
    DataContextLen   uint32
    ObjectContext    string // size: xgb.Pad((int(ObjectContextLen) * 1))
    DataContext      string // size: xgb.Pad((int(DataContextLen) * 1))
}

func (ListItem) Bytes Uses

func (v ListItem) Bytes() []byte

Bytes writes a ListItem value to a byte slice.

type ListPropertiesCookie Uses

type ListPropertiesCookie struct {
    *xgb.Cookie
}

ListPropertiesCookie is a cookie used only for ListProperties requests.

func ListProperties Uses

func ListProperties(c *xgb.Conn, Window xproto.Window) ListPropertiesCookie

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

func ListPropertiesUnchecked Uses

func ListPropertiesUnchecked(c *xgb.Conn, Window xproto.Window) ListPropertiesCookie

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

func (ListPropertiesCookie) Reply Uses

func (cook ListPropertiesCookie) Reply() (*ListPropertiesReply, error)

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

type ListPropertiesReply Uses

type ListPropertiesReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    PropertiesLen uint32
    // padding: 20 bytes
    Properties []ListItem // size: ListItemListSize(Properties)
}

ListPropertiesReply represents the data returned from a ListProperties request.

type ListSelectionsCookie Uses

type ListSelectionsCookie struct {
    *xgb.Cookie
}

ListSelectionsCookie is a cookie used only for ListSelections requests.

func ListSelections Uses

func ListSelections(c *xgb.Conn) ListSelectionsCookie

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

func ListSelectionsUnchecked Uses

func ListSelectionsUnchecked(c *xgb.Conn) ListSelectionsCookie

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

func (ListSelectionsCookie) Reply Uses

func (cook ListSelectionsCookie) Reply() (*ListSelectionsReply, error)

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

type ListSelectionsReply Uses

type ListSelectionsReply struct {
    Sequence uint16 // sequence number of the request for this reply
    Length   uint32 // number of bytes in this reply
    // padding: 1 bytes
    SelectionsLen uint32
    // padding: 20 bytes
    Selections []ListItem // size: ListItemListSize(Selections)
}

ListSelectionsReply represents the data returned from a ListSelections request.

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, ClientMajor byte, ClientMinor byte) 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, ClientMajor byte, ClientMinor byte) 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
    ServerMajor uint16
    ServerMinor uint16
}

QueryVersionReply represents the data returned from a QueryVersion request.

type SetDeviceContextCookie Uses

type SetDeviceContextCookie struct {
    *xgb.Cookie
}

SetDeviceContextCookie is a cookie used only for SetDeviceContext requests.

func SetDeviceContext Uses

func SetDeviceContext(c *xgb.Conn, Device uint32, ContextLen uint32, Context string) SetDeviceContextCookie

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

func SetDeviceContextChecked Uses

func SetDeviceContextChecked(c *xgb.Conn, Device uint32, ContextLen uint32, Context string) SetDeviceContextCookie

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

func (SetDeviceContextCookie) Check Uses

func (cook SetDeviceContextCookie) 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 SetDeviceCreateContextCookie Uses

type SetDeviceCreateContextCookie struct {
    *xgb.Cookie
}

SetDeviceCreateContextCookie is a cookie used only for SetDeviceCreateContext requests.

func SetDeviceCreateContext Uses

func SetDeviceCreateContext(c *xgb.Conn, ContextLen uint32, Context string) SetDeviceCreateContextCookie

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

func SetDeviceCreateContextChecked Uses

func SetDeviceCreateContextChecked(c *xgb.Conn, ContextLen uint32, Context string) SetDeviceCreateContextCookie

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

func (SetDeviceCreateContextCookie) Check Uses

func (cook SetDeviceCreateContextCookie) 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 SetPropertyCreateContextCookie Uses

type SetPropertyCreateContextCookie struct {
    *xgb.Cookie
}

SetPropertyCreateContextCookie is a cookie used only for SetPropertyCreateContext requests.

func SetPropertyCreateContext Uses

func SetPropertyCreateContext(c *xgb.Conn, ContextLen uint32, Context string) SetPropertyCreateContextCookie

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

func SetPropertyCreateContextChecked Uses

func SetPropertyCreateContextChecked(c *xgb.Conn, ContextLen uint32, Context string) SetPropertyCreateContextCookie

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

func (SetPropertyCreateContextCookie) Check Uses

func (cook SetPropertyCreateContextCookie) 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 SetPropertyUseContextCookie Uses

type SetPropertyUseContextCookie struct {
    *xgb.Cookie
}

SetPropertyUseContextCookie is a cookie used only for SetPropertyUseContext requests.

func SetPropertyUseContext Uses

func SetPropertyUseContext(c *xgb.Conn, ContextLen uint32, Context string) SetPropertyUseContextCookie

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

func SetPropertyUseContextChecked Uses

func SetPropertyUseContextChecked(c *xgb.Conn, ContextLen uint32, Context string) SetPropertyUseContextCookie

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

func (SetPropertyUseContextCookie) Check Uses

func (cook SetPropertyUseContextCookie) 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 SetSelectionCreateContextCookie Uses

type SetSelectionCreateContextCookie struct {
    *xgb.Cookie
}

SetSelectionCreateContextCookie is a cookie used only for SetSelectionCreateContext requests.

func SetSelectionCreateContext Uses

func SetSelectionCreateContext(c *xgb.Conn, ContextLen uint32, Context string) SetSelectionCreateContextCookie

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

func SetSelectionCreateContextChecked Uses

func SetSelectionCreateContextChecked(c *xgb.Conn, ContextLen uint32, Context string) SetSelectionCreateContextCookie

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

func (SetSelectionCreateContextCookie) Check Uses

func (cook SetSelectionCreateContextCookie) 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 SetSelectionUseContextCookie Uses

type SetSelectionUseContextCookie struct {
    *xgb.Cookie
}

SetSelectionUseContextCookie is a cookie used only for SetSelectionUseContext requests.

func SetSelectionUseContext Uses

func SetSelectionUseContext(c *xgb.Conn, ContextLen uint32, Context string) SetSelectionUseContextCookie

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

func SetSelectionUseContextChecked Uses

func SetSelectionUseContextChecked(c *xgb.Conn, ContextLen uint32, Context string) SetSelectionUseContextCookie

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

func (SetSelectionUseContextCookie) Check Uses

func (cook SetSelectionUseContextCookie) 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 SetWindowCreateContextCookie Uses

type SetWindowCreateContextCookie struct {
    *xgb.Cookie
}

SetWindowCreateContextCookie is a cookie used only for SetWindowCreateContext requests.

func SetWindowCreateContext Uses

func SetWindowCreateContext(c *xgb.Conn, ContextLen uint32, Context string) SetWindowCreateContextCookie

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

func SetWindowCreateContextChecked Uses

func SetWindowCreateContextChecked(c *xgb.Conn, ContextLen uint32, Context string) SetWindowCreateContextCookie

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

func (SetWindowCreateContextCookie) Check Uses

func (cook SetWindowCreateContextCookie) 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 xselinux 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).