Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ZwpIdleInhibitManagerV1Interface = &wire.Interface{ Name: "zwp_idle_inhibit_manager_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, {Name: "create_inhibitor", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "zwp_idle_inhibitor_v1"}, {Name: "surface", Type: wire.ArgObject, Interface: "wl_surface"}}}, }, }
View Source
var ZwpIdleInhibitorV1Interface = &wire.Interface{ Name: "zwp_idle_inhibitor_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, }, }
Functions ¶
This section is empty.
Types ¶
type ZwpIdleInhibitManagerV1 ¶
type ZwpIdleInhibitManagerV1 struct {
// contains filtered or unexported fields
}
func CreateZwpIdleInhibitManagerV1 ¶
func CreateZwpIdleInhibitManagerV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ZwpIdleInhibitManagerV1) (ZwpIdleInhibitManagerV1Handler, error)) (*ZwpIdleInhibitManagerV1, error)
func NewZwpIdleInhibitManagerV1 ¶
func NewZwpIdleInhibitManagerV1(p wire.Peer, id wire.ObjectID, version uint32, h ZwpIdleInhibitManagerV1Handler) (*ZwpIdleInhibitManagerV1, error)
func (*ZwpIdleInhibitManagerV1) Base ¶
func (obj *ZwpIdleInhibitManagerV1) Base() *wire.Object
func (*ZwpIdleInhibitManagerV1) Dispatch ¶
func (obj *ZwpIdleInhibitManagerV1) Dispatch(msg *wire.Message) error
func (*ZwpIdleInhibitManagerV1) Handler ¶
func (obj *ZwpIdleInhibitManagerV1) Handler() ZwpIdleInhibitManagerV1Handler
type ZwpIdleInhibitManagerV1Handler ¶
type ZwpIdleInhibitManagerV1Handler interface {
Destroy(obj *ZwpIdleInhibitManagerV1) error
CreateInhibitor(obj *ZwpIdleInhibitManagerV1, id *ZwpIdleInhibitorV1, surface *wayland.WlSurface) (ZwpIdleInhibitorV1Handler, error)
}
type ZwpIdleInhibitorV1 ¶
type ZwpIdleInhibitorV1 struct {
// contains filtered or unexported fields
}
func CreateZwpIdleInhibitorV1 ¶
func CreateZwpIdleInhibitorV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ZwpIdleInhibitorV1) (ZwpIdleInhibitorV1Handler, error)) (*ZwpIdleInhibitorV1, error)
func NewZwpIdleInhibitorV1 ¶
func NewZwpIdleInhibitorV1(p wire.Peer, id wire.ObjectID, version uint32, h ZwpIdleInhibitorV1Handler) (*ZwpIdleInhibitorV1, error)
func (*ZwpIdleInhibitorV1) Base ¶
func (obj *ZwpIdleInhibitorV1) Base() *wire.Object
func (*ZwpIdleInhibitorV1) Dispatch ¶
func (obj *ZwpIdleInhibitorV1) Dispatch(msg *wire.Message) error
func (*ZwpIdleInhibitorV1) Handler ¶
func (obj *ZwpIdleInhibitorV1) Handler() ZwpIdleInhibitorV1Handler
type ZwpIdleInhibitorV1Handler ¶
type ZwpIdleInhibitorV1Handler interface {
Destroy(obj *ZwpIdleInhibitorV1) error
}
Click to show internal directories.
Click to hide internal directories.