Documentation
¶
Index ¶
- Variables
- type ExtBackgroundEffectManagerV1
- func (obj *ExtBackgroundEffectManagerV1) Base() *wire.Object
- func (obj *ExtBackgroundEffectManagerV1) Dispatch(msg *wire.Message) error
- func (obj *ExtBackgroundEffectManagerV1) Handler() ExtBackgroundEffectManagerV1Handler
- func (obj *ExtBackgroundEffectManagerV1) ProtocolError(code ExtBackgroundEffectManagerV1Error, format string, args ...any) error
- func (obj *ExtBackgroundEffectManagerV1) SendCapabilities(flags ExtBackgroundEffectManagerV1Capability) error
- type ExtBackgroundEffectManagerV1Capability
- type ExtBackgroundEffectManagerV1Error
- type ExtBackgroundEffectManagerV1Handler
- type ExtBackgroundEffectSurfaceV1
- func (obj *ExtBackgroundEffectSurfaceV1) Base() *wire.Object
- func (obj *ExtBackgroundEffectSurfaceV1) Dispatch(msg *wire.Message) error
- func (obj *ExtBackgroundEffectSurfaceV1) Handler() ExtBackgroundEffectSurfaceV1Handler
- func (obj *ExtBackgroundEffectSurfaceV1) ProtocolError(code ExtBackgroundEffectSurfaceV1Error, format string, args ...any) error
- type ExtBackgroundEffectSurfaceV1Error
- type ExtBackgroundEffectSurfaceV1Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtBackgroundEffectManagerV1Interface = &wire.Interface{ Name: "ext_background_effect_manager_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, {Name: "get_background_effect", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "ext_background_effect_surface_v1"}, {Name: "surface", Type: wire.ArgObject, Interface: "wl_surface"}}}, }, Events: []wire.MessageSpec{ {Name: "capabilities", Since: 1, Args: []wire.Arg{{Name: "flags", Type: wire.ArgUint}}}, }, }
View Source
var ExtBackgroundEffectSurfaceV1Interface = &wire.Interface{ Name: "ext_background_effect_surface_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, {Name: "set_blur_region", Since: 1, Args: []wire.Arg{{Name: "region", Type: wire.ArgObject, Interface: "wl_region", Nullable: true}}}, }, }
Functions ¶
This section is empty.
Types ¶
type ExtBackgroundEffectManagerV1 ¶
type ExtBackgroundEffectManagerV1 struct {
// contains filtered or unexported fields
}
func CreateExtBackgroundEffectManagerV1 ¶
func CreateExtBackgroundEffectManagerV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ExtBackgroundEffectManagerV1) (ExtBackgroundEffectManagerV1Handler, error)) (*ExtBackgroundEffectManagerV1, error)
func NewExtBackgroundEffectManagerV1 ¶
func NewExtBackgroundEffectManagerV1(p wire.Peer, id wire.ObjectID, version uint32, h ExtBackgroundEffectManagerV1Handler) (*ExtBackgroundEffectManagerV1, error)
func (*ExtBackgroundEffectManagerV1) Base ¶
func (obj *ExtBackgroundEffectManagerV1) Base() *wire.Object
func (*ExtBackgroundEffectManagerV1) Dispatch ¶
func (obj *ExtBackgroundEffectManagerV1) Dispatch(msg *wire.Message) error
func (*ExtBackgroundEffectManagerV1) Handler ¶
func (obj *ExtBackgroundEffectManagerV1) Handler() ExtBackgroundEffectManagerV1Handler
func (*ExtBackgroundEffectManagerV1) ProtocolError ¶
func (obj *ExtBackgroundEffectManagerV1) ProtocolError(code ExtBackgroundEffectManagerV1Error, format string, args ...any) error
func (*ExtBackgroundEffectManagerV1) SendCapabilities ¶
func (obj *ExtBackgroundEffectManagerV1) SendCapabilities(flags ExtBackgroundEffectManagerV1Capability) error
type ExtBackgroundEffectManagerV1Capability ¶
type ExtBackgroundEffectManagerV1Capability uint32
const (
ExtBackgroundEffectManagerV1CapabilityBlur ExtBackgroundEffectManagerV1Capability = 1
)
func (ExtBackgroundEffectManagerV1Capability) Has ¶
func (v ExtBackgroundEffectManagerV1Capability) Has(flag ExtBackgroundEffectManagerV1Capability) bool
func (ExtBackgroundEffectManagerV1Capability) Valid ¶
func (v ExtBackgroundEffectManagerV1Capability) Valid(version uint32) bool
type ExtBackgroundEffectManagerV1Error ¶
type ExtBackgroundEffectManagerV1Error uint32
const (
ExtBackgroundEffectManagerV1ErrorBackgroundEffectExists ExtBackgroundEffectManagerV1Error = 0
)
func (ExtBackgroundEffectManagerV1Error) Valid ¶
func (v ExtBackgroundEffectManagerV1Error) Valid(version uint32) bool
type ExtBackgroundEffectManagerV1Handler ¶
type ExtBackgroundEffectManagerV1Handler interface {
Destroy(obj *ExtBackgroundEffectManagerV1) error
GetBackgroundEffect(obj *ExtBackgroundEffectManagerV1, id *ExtBackgroundEffectSurfaceV1, surface *wayland.WlSurface) (ExtBackgroundEffectSurfaceV1Handler, error)
}
type ExtBackgroundEffectSurfaceV1 ¶
type ExtBackgroundEffectSurfaceV1 struct {
// contains filtered or unexported fields
}
func CreateExtBackgroundEffectSurfaceV1 ¶
func CreateExtBackgroundEffectSurfaceV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ExtBackgroundEffectSurfaceV1) (ExtBackgroundEffectSurfaceV1Handler, error)) (*ExtBackgroundEffectSurfaceV1, error)
func NewExtBackgroundEffectSurfaceV1 ¶
func NewExtBackgroundEffectSurfaceV1(p wire.Peer, id wire.ObjectID, version uint32, h ExtBackgroundEffectSurfaceV1Handler) (*ExtBackgroundEffectSurfaceV1, error)
func (*ExtBackgroundEffectSurfaceV1) Base ¶
func (obj *ExtBackgroundEffectSurfaceV1) Base() *wire.Object
func (*ExtBackgroundEffectSurfaceV1) Dispatch ¶
func (obj *ExtBackgroundEffectSurfaceV1) Dispatch(msg *wire.Message) error
func (*ExtBackgroundEffectSurfaceV1) Handler ¶
func (obj *ExtBackgroundEffectSurfaceV1) Handler() ExtBackgroundEffectSurfaceV1Handler
func (*ExtBackgroundEffectSurfaceV1) ProtocolError ¶
func (obj *ExtBackgroundEffectSurfaceV1) ProtocolError(code ExtBackgroundEffectSurfaceV1Error, format string, args ...any) error
type ExtBackgroundEffectSurfaceV1Error ¶
type ExtBackgroundEffectSurfaceV1Error uint32
const (
ExtBackgroundEffectSurfaceV1ErrorSurfaceDestroyed ExtBackgroundEffectSurfaceV1Error = 0
)
func (ExtBackgroundEffectSurfaceV1Error) Valid ¶
func (v ExtBackgroundEffectSurfaceV1Error) Valid(version uint32) bool
type ExtBackgroundEffectSurfaceV1Handler ¶
type ExtBackgroundEffectSurfaceV1Handler interface {
Destroy(obj *ExtBackgroundEffectSurfaceV1) error
SetBlurRegion(obj *ExtBackgroundEffectSurfaceV1, region *wayland.WlRegion) error
}
Click to show internal directories.
Click to hide internal directories.