Documentation ¶
Index ¶
- Constants
- func Ext() *x.Extension
- func SelectInput(conn *x.Conn, drawable x.Drawable, eventMask uint32)
- func SelectInputChecked(conn *x.Conn, drawable x.Drawable, eventMask uint32) x.VoidCookie
- func SetAttributes(conn *x.Conn, drawable x.Drawable, X, y int16, ...)
- func SetAttributesChecked(conn *x.Conn, drawable x.Drawable, X, y int16, ...) x.VoidCookie
- func Suspend(conn *x.Conn, suspend bool)
- func SuspendChecked(conn *x.Conn, suspend bool) x.VoidCookie
- func UnsetAttributes(conn *x.Conn, drawable x.Drawable)
- func UnsetAttributesChecked(conn *x.Conn, drawable x.Drawable) x.VoidCookie
- type NotifyEvent
- type QueryInfoCookie
- type QueryInfoReply
- type QueryVersionCookie
- type QueryVersionReply
Constants ¶
View Source
const ( KindBlanked = 0 KindInternal = 1 KindExternal = 2 )
enum Kind
View Source
const ( EventNotifyMask = 1 EventCycleMask = 2 )
enum Event
View Source
const ( StateOff = 0 StateOn = 1 StateCycle = 2 StateDisabled = 3 )
enum State
View Source
const MajorVersion = 1
_ns.ext_name: ScreenSaver
View Source
const MinorVersion = 1
View Source
const NotifyEventCode = 0
View Source
const QueryInfoOpcode = 1
View Source
const QueryVersionOpcode = 0
View Source
const SelectInputOpcode = 2
View Source
const SetAttributesOpcode = 3
View Source
const SuspendOpcode = 5
View Source
const UnsetAttributesOpcode = 4
Variables ¶
This section is empty.
Functions ¶
func SelectInputChecked ¶
func SetAttributes ¶
func SetAttributesChecked ¶
func SuspendChecked ¶
func SuspendChecked(conn *x.Conn, suspend bool) x.VoidCookie
func UnsetAttributesChecked ¶
Types ¶
type NotifyEvent ¶
type NotifyEvent struct { State uint8 Sequence uint16 Time x.Timestamp Root x.Window Window x.Window Kind uint8 Forced bool }
func NewNotifyEvent ¶
func NewNotifyEvent(data []byte) (*NotifyEvent, error)
type QueryInfoCookie ¶
func (QueryInfoCookie) Reply ¶
func (cookie QueryInfoCookie) Reply(conn *x.Conn) (*QueryInfoReply, error)
type QueryInfoReply ¶
type QueryVersionCookie ¶
func QueryVersion ¶
func QueryVersion(conn *x.Conn, clientMajorVersion, clientMinorVersion uint8) QueryVersionCookie
func (QueryVersionCookie) Reply ¶
func (cookie QueryVersionCookie) Reply(conn *x.Conn) (*QueryVersionReply, error)
type QueryVersionReply ¶
Click to show internal directories.
Click to hide internal directories.