pointergestures

package
v0.5.1 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 ZwpPointerGestureHoldV1Interface = &wire.Interface{
	Name:    "zwp_pointer_gesture_hold_v1",
	Version: 3,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 3, Destructor: true},
	},
	Events: []wire.MessageSpec{
		{Name: "begin", Since: 3, Args: []wire.Arg{{Name: "serial", Type: wire.ArgUint}, {Name: "time", Type: wire.ArgUint}, {Name: "surface", Type: wire.ArgObject, Interface: "wl_surface"}, {Name: "fingers", Type: wire.ArgUint}}},
		{Name: "end", Since: 3, Args: []wire.Arg{{Name: "serial", Type: wire.ArgUint}, {Name: "time", Type: wire.ArgUint}, {Name: "cancelled", Type: wire.ArgInt}}},
	},
}
View Source
var ZwpPointerGesturePinchV1Interface = &wire.Interface{
	Name:    "zwp_pointer_gesture_pinch_v1",
	Version: 3,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
	},
	Events: []wire.MessageSpec{
		{Name: "begin", Since: 1, Args: []wire.Arg{{Name: "serial", Type: wire.ArgUint}, {Name: "time", Type: wire.ArgUint}, {Name: "surface", Type: wire.ArgObject, Interface: "wl_surface"}, {Name: "fingers", Type: wire.ArgUint}}},
		{Name: "update", Since: 1, Args: []wire.Arg{{Name: "time", Type: wire.ArgUint}, {Name: "dx", Type: wire.ArgFixed}, {Name: "dy", Type: wire.ArgFixed}, {Name: "scale", Type: wire.ArgFixed}, {Name: "rotation", Type: wire.ArgFixed}}},
		{Name: "end", Since: 1, Args: []wire.Arg{{Name: "serial", Type: wire.ArgUint}, {Name: "time", Type: wire.ArgUint}, {Name: "cancelled", Type: wire.ArgInt}}},
	},
}
View Source
var ZwpPointerGestureSwipeV1Interface = &wire.Interface{
	Name:    "zwp_pointer_gesture_swipe_v1",
	Version: 3,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
	},
	Events: []wire.MessageSpec{
		{Name: "begin", Since: 1, Args: []wire.Arg{{Name: "serial", Type: wire.ArgUint}, {Name: "time", Type: wire.ArgUint}, {Name: "surface", Type: wire.ArgObject, Interface: "wl_surface"}, {Name: "fingers", Type: wire.ArgUint}}},
		{Name: "update", Since: 1, Args: []wire.Arg{{Name: "time", Type: wire.ArgUint}, {Name: "dx", Type: wire.ArgFixed}, {Name: "dy", Type: wire.ArgFixed}}},
		{Name: "end", Since: 1, Args: []wire.Arg{{Name: "serial", Type: wire.ArgUint}, {Name: "time", Type: wire.ArgUint}, {Name: "cancelled", Type: wire.ArgInt}}},
	},
}
View Source
var ZwpPointerGesturesV1Interface = &wire.Interface{
	Name:    "zwp_pointer_gestures_v1",
	Version: 3,
	Requests: []wire.MessageSpec{
		{Name: "get_swipe_gesture", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "zwp_pointer_gesture_swipe_v1"}, {Name: "pointer", Type: wire.ArgObject, Interface: "wl_pointer"}}},
		{Name: "get_pinch_gesture", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "zwp_pointer_gesture_pinch_v1"}, {Name: "pointer", Type: wire.ArgObject, Interface: "wl_pointer"}}},
		{Name: "release", Since: 2, Destructor: true},
		{Name: "get_hold_gesture", Since: 3, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "zwp_pointer_gesture_hold_v1"}, {Name: "pointer", Type: wire.ArgObject, Interface: "wl_pointer"}}},
	},
}

Functions

This section is empty.

Types

type ZwpPointerGestureHoldV1

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

func (*ZwpPointerGestureHoldV1) Base

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

func (*ZwpPointerGestureHoldV1) Destroy

func (obj *ZwpPointerGestureHoldV1) Destroy() error

func (*ZwpPointerGestureHoldV1) Dispatch

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

func (*ZwpPointerGestureHoldV1) Handler

type ZwpPointerGestureHoldV1Handler

type ZwpPointerGestureHoldV1Handler interface {
	Begin(obj *ZwpPointerGestureHoldV1, serial uint32, time uint32, surface *wayland.WlSurface, fingers uint32) error
	End(obj *ZwpPointerGestureHoldV1, serial uint32, time uint32, cancelled int32) error
}

type ZwpPointerGesturePinchV1

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

func (*ZwpPointerGesturePinchV1) Base

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

func (*ZwpPointerGesturePinchV1) Destroy

func (obj *ZwpPointerGesturePinchV1) Destroy() error

func (*ZwpPointerGesturePinchV1) Dispatch

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

func (*ZwpPointerGesturePinchV1) Handler

type ZwpPointerGesturePinchV1Handler

type ZwpPointerGesturePinchV1Handler interface {
	Begin(obj *ZwpPointerGesturePinchV1, serial uint32, time uint32, surface *wayland.WlSurface, fingers uint32) error
	Update(obj *ZwpPointerGesturePinchV1, time uint32, dx wire.Fixed, dy wire.Fixed, scale wire.Fixed, rotation wire.Fixed) error
	End(obj *ZwpPointerGesturePinchV1, serial uint32, time uint32, cancelled int32) error
}

type ZwpPointerGestureSwipeV1

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

func (*ZwpPointerGestureSwipeV1) Base

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

func (*ZwpPointerGestureSwipeV1) Destroy

func (obj *ZwpPointerGestureSwipeV1) Destroy() error

func (*ZwpPointerGestureSwipeV1) Dispatch

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

func (*ZwpPointerGestureSwipeV1) Handler

type ZwpPointerGestureSwipeV1Handler

type ZwpPointerGestureSwipeV1Handler interface {
	Begin(obj *ZwpPointerGestureSwipeV1, serial uint32, time uint32, surface *wayland.WlSurface, fingers uint32) error
	Update(obj *ZwpPointerGestureSwipeV1, time uint32, dx wire.Fixed, dy wire.Fixed) error
	End(obj *ZwpPointerGestureSwipeV1, serial uint32, time uint32, cancelled int32) error
}

type ZwpPointerGesturesV1

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

func CreateZwpPointerGesturesV1

func CreateZwpPointerGesturesV1(p wire.Peer, id wire.ObjectID, version uint32) (*ZwpPointerGesturesV1, error)

func NewZwpPointerGesturesV1

func NewZwpPointerGesturesV1(p wire.Peer, version uint32) (*ZwpPointerGesturesV1, error)

func (*ZwpPointerGesturesV1) Base

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

func (*ZwpPointerGesturesV1) Dispatch

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

func (*ZwpPointerGesturesV1) GetHoldGesture

func (*ZwpPointerGesturesV1) GetPinchGesture

func (*ZwpPointerGesturesV1) GetSwipeGesture

func (*ZwpPointerGesturesV1) Release

func (obj *ZwpPointerGesturesV1) Release() error

Jump to

Keyboard shortcuts

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