Documentation
¶
Index ¶
- Variables
- type ExtIdleNotificationV1
- func (obj *ExtIdleNotificationV1) Base() *wire.Object
- func (obj *ExtIdleNotificationV1) Dispatch(msg *wire.Message) error
- func (obj *ExtIdleNotificationV1) Handler() ExtIdleNotificationV1Handler
- func (obj *ExtIdleNotificationV1) SendIdled() error
- func (obj *ExtIdleNotificationV1) SendResumed() error
- type ExtIdleNotificationV1Handler
- type ExtIdleNotifierV1
- type ExtIdleNotifierV1Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtIdleNotificationV1Interface = &wire.Interface{ Name: "ext_idle_notification_v1", Version: 2, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, }, Events: []wire.MessageSpec{ {Name: "idled", Since: 1}, {Name: "resumed", Since: 1}, }, }
View Source
var ExtIdleNotifierV1Interface = &wire.Interface{ Name: "ext_idle_notifier_v1", Version: 2, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, {Name: "get_idle_notification", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "ext_idle_notification_v1"}, {Name: "timeout", Type: wire.ArgUint}, {Name: "seat", Type: wire.ArgObject, Interface: "wl_seat"}}}, {Name: "get_input_idle_notification", Since: 2, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "ext_idle_notification_v1"}, {Name: "timeout", Type: wire.ArgUint}, {Name: "seat", Type: wire.ArgObject, Interface: "wl_seat"}}}, }, }
Functions ¶
This section is empty.
Types ¶
type ExtIdleNotificationV1 ¶
type ExtIdleNotificationV1 struct {
// contains filtered or unexported fields
}
func CreateExtIdleNotificationV1 ¶
func CreateExtIdleNotificationV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ExtIdleNotificationV1) (ExtIdleNotificationV1Handler, error)) (*ExtIdleNotificationV1, error)
func NewExtIdleNotificationV1 ¶
func NewExtIdleNotificationV1(p wire.Peer, id wire.ObjectID, version uint32, h ExtIdleNotificationV1Handler) (*ExtIdleNotificationV1, error)
func (*ExtIdleNotificationV1) Base ¶
func (obj *ExtIdleNotificationV1) Base() *wire.Object
func (*ExtIdleNotificationV1) Dispatch ¶
func (obj *ExtIdleNotificationV1) Dispatch(msg *wire.Message) error
func (*ExtIdleNotificationV1) Handler ¶
func (obj *ExtIdleNotificationV1) Handler() ExtIdleNotificationV1Handler
func (*ExtIdleNotificationV1) SendIdled ¶
func (obj *ExtIdleNotificationV1) SendIdled() error
func (*ExtIdleNotificationV1) SendResumed ¶
func (obj *ExtIdleNotificationV1) SendResumed() error
type ExtIdleNotificationV1Handler ¶
type ExtIdleNotificationV1Handler interface {
Destroy(obj *ExtIdleNotificationV1) error
}
type ExtIdleNotifierV1 ¶
type ExtIdleNotifierV1 struct {
// contains filtered or unexported fields
}
func CreateExtIdleNotifierV1 ¶
func CreateExtIdleNotifierV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ExtIdleNotifierV1) (ExtIdleNotifierV1Handler, error)) (*ExtIdleNotifierV1, error)
func NewExtIdleNotifierV1 ¶
func NewExtIdleNotifierV1(p wire.Peer, id wire.ObjectID, version uint32, h ExtIdleNotifierV1Handler) (*ExtIdleNotifierV1, error)
func (*ExtIdleNotifierV1) Base ¶
func (obj *ExtIdleNotifierV1) Base() *wire.Object
func (*ExtIdleNotifierV1) Dispatch ¶
func (obj *ExtIdleNotifierV1) Dispatch(msg *wire.Message) error
func (*ExtIdleNotifierV1) Handler ¶
func (obj *ExtIdleNotifierV1) Handler() ExtIdleNotifierV1Handler
type ExtIdleNotifierV1Handler ¶
type ExtIdleNotifierV1Handler interface {
Destroy(obj *ExtIdleNotifierV1) error
GetIdleNotification(obj *ExtIdleNotifierV1, id *ExtIdleNotificationV1, timeout uint32, seat *wayland.WlSeat) (ExtIdleNotificationV1Handler, error)
GetInputIdleNotification(obj *ExtIdleNotifierV1, id *ExtIdleNotificationV1, timeout uint32, seat *wayland.WlSeat) (ExtIdleNotificationV1Handler, error)
}
Click to show internal directories.
Click to hide internal directories.