Documentation
¶
Index ¶
- Variables
- type ExtIdleNotificationV1
- type ExtIdleNotificationV1Handler
- type ExtIdleNotifierV1
- func (obj *ExtIdleNotifierV1) Base() *wire.Object
- func (obj *ExtIdleNotifierV1) Destroy() error
- func (obj *ExtIdleNotifierV1) Dispatch(msg *wire.Message) error
- func (obj *ExtIdleNotifierV1) GetIdleNotification(h ExtIdleNotificationV1Handler, timeout uint32, seat *wayland.WlSeat) (*ExtIdleNotificationV1, error)
- func (obj *ExtIdleNotifierV1) GetInputIdleNotification(h ExtIdleNotificationV1Handler, timeout uint32, seat *wayland.WlSeat) (*ExtIdleNotificationV1, error)
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, version uint32, h ExtIdleNotificationV1Handler) (*ExtIdleNotificationV1, error)
func (*ExtIdleNotificationV1) Base ¶
func (obj *ExtIdleNotificationV1) Base() *wire.Object
func (*ExtIdleNotificationV1) Destroy ¶
func (obj *ExtIdleNotificationV1) Destroy() error
func (*ExtIdleNotificationV1) Dispatch ¶
func (obj *ExtIdleNotificationV1) Dispatch(msg *wire.Message) error
func (*ExtIdleNotificationV1) Handler ¶
func (obj *ExtIdleNotificationV1) Handler() ExtIdleNotificationV1Handler
type ExtIdleNotificationV1Handler ¶
type ExtIdleNotificationV1Handler interface {
Idled(obj *ExtIdleNotificationV1) error
Resumed(obj *ExtIdleNotificationV1) error
}
type ExtIdleNotifierV1 ¶
type ExtIdleNotifierV1 struct {
// contains filtered or unexported fields
}
func CreateExtIdleNotifierV1 ¶
func NewExtIdleNotifierV1 ¶
func NewExtIdleNotifierV1(p wire.Peer, version uint32) (*ExtIdleNotifierV1, error)
func (*ExtIdleNotifierV1) Base ¶
func (obj *ExtIdleNotifierV1) Base() *wire.Object
func (*ExtIdleNotifierV1) Destroy ¶
func (obj *ExtIdleNotifierV1) Destroy() error
func (*ExtIdleNotifierV1) Dispatch ¶
func (obj *ExtIdleNotifierV1) Dispatch(msg *wire.Message) error
func (*ExtIdleNotifierV1) GetIdleNotification ¶
func (obj *ExtIdleNotifierV1) GetIdleNotification(h ExtIdleNotificationV1Handler, timeout uint32, seat *wayland.WlSeat) (*ExtIdleNotificationV1, error)
func (*ExtIdleNotifierV1) GetInputIdleNotification ¶
func (obj *ExtIdleNotifierV1) GetInputIdleNotification(h ExtIdleNotificationV1Handler, timeout uint32, seat *wayland.WlSeat) (*ExtIdleNotificationV1, error)
Click to show internal directories.
Click to hide internal directories.