Documentation ¶
Overview ¶
Package xselinux is the X client API for the SELinux extension.
Index ¶
- func Init(c *xgb.Conn) error
- func ListItemListBytes(buf []byte, list []ListItem) int
- func ListItemListSize(list []ListItem) int
- func ListItemRead(buf []byte, v *ListItem) int
- func ListItemReadList(buf []byte, dest []ListItem) int
- type GetClientContextCookie
- type GetClientContextReply
- type GetDeviceContextCookie
- type GetDeviceContextReply
- type GetDeviceCreateContextCookie
- type GetDeviceCreateContextReply
- type GetPropertyContextCookie
- type GetPropertyContextReply
- type GetPropertyCreateContextCookie
- type GetPropertyCreateContextReply
- type GetPropertyDataContextCookie
- type GetPropertyDataContextReply
- type GetPropertyUseContextCookie
- type GetPropertyUseContextReply
- type GetSelectionContextCookie
- type GetSelectionContextReply
- type GetSelectionCreateContextCookie
- type GetSelectionCreateContextReply
- type GetSelectionDataContextCookie
- type GetSelectionDataContextReply
- type GetSelectionUseContextCookie
- type GetSelectionUseContextReply
- type GetWindowContextCookie
- type GetWindowContextReply
- type GetWindowCreateContextCookie
- type GetWindowCreateContextReply
- type ListItem
- type ListPropertiesCookie
- type ListPropertiesReply
- type ListSelectionsCookie
- type ListSelectionsReply
- type QueryVersionCookie
- type QueryVersionReply
- type SetDeviceContextCookie
- type SetDeviceCreateContextCookie
- type SetPropertyCreateContextCookie
- type SetPropertyUseContextCookie
- type SetSelectionCreateContextCookie
- type SetSelectionUseContextCookie
- type SetWindowCreateContextCookie
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListItemListBytes ¶
ListItemListBytes writes a list of ListItem values to a byte slice.
func ListItemListSize ¶
ListItemListSize computes the size (bytes) of a list of ListItem values.
func ListItemRead ¶
ListItemRead reads a byte slice into a ListItem value.
func ListItemReadList ¶
ListItemReadList reads a byte slice into a list of ListItem values.
Types ¶
type GetClientContextCookie ¶
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 ¶
func (cook GetClientContextCookie) Reply() (*GetClientContextReply, error)
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 ¶
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 ¶
func (cook GetDeviceContextCookie) Reply() (*GetDeviceContextReply, error)
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 ¶
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 ¶
func (cook GetDeviceCreateContextCookie) Reply() (*GetDeviceCreateContextReply, error)
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 ¶
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 ¶
func (cook GetPropertyContextCookie) Reply() (*GetPropertyContextReply, error)
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 ¶
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 ¶
func (cook GetPropertyCreateContextCookie) Reply() (*GetPropertyCreateContextReply, error)
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 ¶
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 ¶
func (cook GetPropertyDataContextCookie) Reply() (*GetPropertyDataContextReply, error)
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 ¶
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 ¶
func (cook GetPropertyUseContextCookie) Reply() (*GetPropertyUseContextReply, error)
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 ¶
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 ¶
func (cook GetSelectionContextCookie) Reply() (*GetSelectionContextReply, error)
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 ¶
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 ¶
func (cook GetSelectionCreateContextCookie) Reply() (*GetSelectionCreateContextReply, error)
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 ¶
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 ¶
func (cook GetSelectionDataContextCookie) Reply() (*GetSelectionDataContextReply, error)
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 ¶
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 ¶
func (cook GetSelectionUseContextCookie) Reply() (*GetSelectionUseContextReply, error)
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 ¶
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 ¶
func (cook GetWindowContextCookie) Reply() (*GetWindowContextReply, error)
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 ¶
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 ¶
func (cook GetWindowCreateContextCookie) Reply() (*GetWindowCreateContextReply, error)
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 ListPropertiesCookie ¶
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 ¶
func (cook ListPropertiesCookie) Reply() (*ListPropertiesReply, error)
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 ¶
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 ¶
func (cook ListSelectionsCookie) Reply() (*ListSelectionsReply, error)
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.