xselinux

package
v0.0.0-...-eb7c389 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2013 License: BSD-3-Clause, GooglePatentClause Imports: 2 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(c *xgb.Conn) error

Init must be called before using the SELinux extension.

func ListItemListBytes

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

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

func ListItemListSize

func ListItemListSize(list []ListItem) int

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

func ListItemRead

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

ListItemRead reads a byte slice into a ListItem value.

func ListItemReadList

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

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

Types

type GetClientContextCookie

type GetClientContextCookie struct {
	*xgb.Cookie
}

GetClientContextCookie is a cookie used only for GetClientContext requests.

func GetClientContext

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

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

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

type GetClientContextReply

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

type GetDeviceContextCookie struct {
	*xgb.Cookie
}

GetDeviceContextCookie is a cookie used only for GetDeviceContext requests.

func GetDeviceContext

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

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

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

type GetDeviceContextReply

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

type GetDeviceCreateContextCookie struct {
	*xgb.Cookie
}

GetDeviceCreateContextCookie is a cookie used only for GetDeviceCreateContext requests.

func GetDeviceCreateContext

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

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

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

type GetDeviceCreateContextReply

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

type GetPropertyContextCookie struct {
	*xgb.Cookie
}

GetPropertyContextCookie is a cookie used only for GetPropertyContext requests.

func GetPropertyContext

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

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

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

type GetPropertyContextReply

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

type GetPropertyCreateContextCookie struct {
	*xgb.Cookie
}

GetPropertyCreateContextCookie is a cookie used only for GetPropertyCreateContext requests.

func GetPropertyCreateContext

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

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

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

type GetPropertyCreateContextReply

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

type GetPropertyDataContextCookie struct {
	*xgb.Cookie
}

GetPropertyDataContextCookie is a cookie used only for GetPropertyDataContext requests.

func GetPropertyDataContext

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

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

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

type GetPropertyDataContextReply

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

type GetPropertyUseContextCookie struct {
	*xgb.Cookie
}

GetPropertyUseContextCookie is a cookie used only for GetPropertyUseContext requests.

func GetPropertyUseContext

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

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

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

type GetPropertyUseContextReply

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

type GetSelectionContextCookie struct {
	*xgb.Cookie
}

GetSelectionContextCookie is a cookie used only for GetSelectionContext requests.

func GetSelectionContext

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

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

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

type GetSelectionContextReply

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

type GetSelectionCreateContextCookie struct {
	*xgb.Cookie
}

GetSelectionCreateContextCookie is a cookie used only for GetSelectionCreateContext requests.

func GetSelectionCreateContext

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

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

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

type GetSelectionCreateContextReply

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

type GetSelectionDataContextCookie struct {
	*xgb.Cookie
}

GetSelectionDataContextCookie is a cookie used only for GetSelectionDataContext requests.

func GetSelectionDataContext

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

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

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

type GetSelectionDataContextReply

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

type GetSelectionUseContextCookie struct {
	*xgb.Cookie
}

GetSelectionUseContextCookie is a cookie used only for GetSelectionUseContext requests.

func GetSelectionUseContext

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

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

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

type GetSelectionUseContextReply

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

type GetWindowContextCookie struct {
	*xgb.Cookie
}

GetWindowContextCookie is a cookie used only for GetWindowContext requests.

func GetWindowContext

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

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

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

type GetWindowContextReply

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

type GetWindowCreateContextCookie struct {
	*xgb.Cookie
}

GetWindowCreateContextCookie is a cookie used only for GetWindowCreateContext requests.

func GetWindowCreateContext

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

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

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

type GetWindowCreateContextReply

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

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

func (v ListItem) Bytes() []byte

Bytes writes a ListItem value to a byte slice.

type ListPropertiesCookie

type ListPropertiesCookie struct {
	*xgb.Cookie
}

ListPropertiesCookie is a cookie used only for ListProperties requests.

func ListProperties

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

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

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

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
	PropertiesLen uint32
	// padding: 20 bytes
	Properties []ListItem // size: ListItemListSize(Properties)
}

ListPropertiesReply represents the data returned from a ListProperties request.

type ListSelectionsCookie

type ListSelectionsCookie struct {
	*xgb.Cookie
}

ListSelectionsCookie is a cookie used only for ListSelections requests.

func ListSelections

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

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

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

type ListSelectionsReply

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

type QueryVersionCookie struct {
	*xgb.Cookie
}

QueryVersionCookie is a cookie used only for QueryVersion requests.

func QueryVersion

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

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

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
	ServerMajor uint16
	ServerMinor uint16
}

QueryVersionReply represents the data returned from a QueryVersion request.

type SetDeviceContextCookie

type SetDeviceContextCookie struct {
	*xgb.Cookie
}

SetDeviceContextCookie is a cookie used only for SetDeviceContext requests.

func SetDeviceContext

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

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

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

type SetDeviceCreateContextCookie struct {
	*xgb.Cookie
}

SetDeviceCreateContextCookie is a cookie used only for SetDeviceCreateContext requests.

func SetDeviceCreateContext

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

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

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

type SetPropertyCreateContextCookie struct {
	*xgb.Cookie
}

SetPropertyCreateContextCookie is a cookie used only for SetPropertyCreateContext requests.

func SetPropertyCreateContext

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

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

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

type SetPropertyUseContextCookie struct {
	*xgb.Cookie
}

SetPropertyUseContextCookie is a cookie used only for SetPropertyUseContext requests.

func SetPropertyUseContext

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

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

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

type SetSelectionCreateContextCookie struct {
	*xgb.Cookie
}

SetSelectionCreateContextCookie is a cookie used only for SetSelectionCreateContext requests.

func SetSelectionCreateContext

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

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

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

type SetSelectionUseContextCookie struct {
	*xgb.Cookie
}

SetSelectionUseContextCookie is a cookie used only for SetSelectionUseContext requests.

func SetSelectionUseContext

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

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

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

type SetWindowCreateContextCookie struct {
	*xgb.Cookie
}

SetWindowCreateContextCookie is a cookie used only for SetWindowCreateContext requests.

func SetWindowCreateContext

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL