xwaylandshell

package
v0.5.2 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 XwaylandShellV1Interface = &wire.Interface{
	Name:    "xwayland_shell_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
		{Name: "get_xwayland_surface", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "xwayland_surface_v1"}, {Name: "surface", Type: wire.ArgObject, Interface: "wl_surface"}}},
	},
}
View Source
var XwaylandSurfaceV1Interface = &wire.Interface{
	Name:    "xwayland_surface_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "set_serial", Since: 1, Args: []wire.Arg{{Name: "serial_lo", Type: wire.ArgUint}, {Name: "serial_hi", Type: wire.ArgUint}}},
		{Name: "destroy", Since: 1, Destructor: true},
	},
}

Functions

This section is empty.

Types

type XwaylandShellV1

type XwaylandShellV1 struct {
	// contains filtered or unexported fields
}

func CreateXwaylandShellV1

func CreateXwaylandShellV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*XwaylandShellV1) (XwaylandShellV1Handler, error)) (*XwaylandShellV1, error)

func NewXwaylandShellV1

func NewXwaylandShellV1(p wire.Peer, id wire.ObjectID, version uint32, h XwaylandShellV1Handler) (*XwaylandShellV1, error)

func (*XwaylandShellV1) Base

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

func (*XwaylandShellV1) Dispatch

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

func (*XwaylandShellV1) Handler

func (obj *XwaylandShellV1) Handler() XwaylandShellV1Handler

func (*XwaylandShellV1) ProtocolError

func (obj *XwaylandShellV1) ProtocolError(code XwaylandShellV1Error, format string, args ...any) error

type XwaylandShellV1Error

type XwaylandShellV1Error uint32
const (
	XwaylandShellV1ErrorRole XwaylandShellV1Error = 0
)

func (XwaylandShellV1Error) Valid

func (v XwaylandShellV1Error) Valid(version uint32) bool

type XwaylandShellV1Handler

type XwaylandShellV1Handler interface {
	Destroy(obj *XwaylandShellV1) error
	GetXwaylandSurface(obj *XwaylandShellV1, id *XwaylandSurfaceV1, surface *wayland.WlSurface) (XwaylandSurfaceV1Handler, error)
}

type XwaylandSurfaceV1

type XwaylandSurfaceV1 struct {
	// contains filtered or unexported fields
}

func CreateXwaylandSurfaceV1

func CreateXwaylandSurfaceV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*XwaylandSurfaceV1) (XwaylandSurfaceV1Handler, error)) (*XwaylandSurfaceV1, error)

func NewXwaylandSurfaceV1

func NewXwaylandSurfaceV1(p wire.Peer, id wire.ObjectID, version uint32, h XwaylandSurfaceV1Handler) (*XwaylandSurfaceV1, error)

func (*XwaylandSurfaceV1) Base

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

func (*XwaylandSurfaceV1) Dispatch

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

func (*XwaylandSurfaceV1) Handler

func (*XwaylandSurfaceV1) ProtocolError

func (obj *XwaylandSurfaceV1) ProtocolError(code XwaylandSurfaceV1Error, format string, args ...any) error

type XwaylandSurfaceV1Error

type XwaylandSurfaceV1Error uint32
const (
	XwaylandSurfaceV1ErrorAlreadyAssociated XwaylandSurfaceV1Error = 0
	XwaylandSurfaceV1ErrorInvalidSerial     XwaylandSurfaceV1Error = 1
)

func (XwaylandSurfaceV1Error) Valid

func (v XwaylandSurfaceV1Error) Valid(version uint32) bool

type XwaylandSurfaceV1Handler

type XwaylandSurfaceV1Handler interface {
	SetSerial(obj *XwaylandSurfaceV1, serialLo uint32, serialHi uint32) error
	Destroy(obj *XwaylandSurfaceV1) error
}

Jump to

Keyboard shortcuts

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