extidlenotify

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT, MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 (*ExtIdleNotificationV1) Base

func (obj *ExtIdleNotificationV1) Base() *wire.Object

func (*ExtIdleNotificationV1) Dispatch

func (obj *ExtIdleNotificationV1) Dispatch(msg *wire.Message) error

func (*ExtIdleNotificationV1) Handler

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

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL