pointergestures

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 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) Dispatch

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

func (*ZwpPointerGestureHoldV1) Handler

func (*ZwpPointerGestureHoldV1) SendBegin

func (obj *ZwpPointerGestureHoldV1) SendBegin(serial uint32, time uint32, surface *wayland.WlSurface, fingers uint32) error

func (*ZwpPointerGestureHoldV1) SendEnd

func (obj *ZwpPointerGestureHoldV1) SendEnd(serial uint32, time uint32, cancelled int32) error

type ZwpPointerGestureHoldV1Handler

type ZwpPointerGestureHoldV1Handler interface {
	Destroy(obj *ZwpPointerGestureHoldV1) error
}

type ZwpPointerGesturePinchV1

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

func (*ZwpPointerGesturePinchV1) Base

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

func (*ZwpPointerGesturePinchV1) Dispatch

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

func (*ZwpPointerGesturePinchV1) Handler

func (*ZwpPointerGesturePinchV1) SendBegin

func (obj *ZwpPointerGesturePinchV1) SendBegin(serial uint32, time uint32, surface *wayland.WlSurface, fingers uint32) error

func (*ZwpPointerGesturePinchV1) SendEnd

func (obj *ZwpPointerGesturePinchV1) SendEnd(serial uint32, time uint32, cancelled int32) error

func (*ZwpPointerGesturePinchV1) SendUpdate

func (obj *ZwpPointerGesturePinchV1) SendUpdate(time uint32, dx wire.Fixed, dy wire.Fixed, scale wire.Fixed, rotation wire.Fixed) error

type ZwpPointerGesturePinchV1Handler

type ZwpPointerGesturePinchV1Handler interface {
	Destroy(obj *ZwpPointerGesturePinchV1) error
}

type ZwpPointerGestureSwipeV1

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

func (*ZwpPointerGestureSwipeV1) Base

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

func (*ZwpPointerGestureSwipeV1) Dispatch

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

func (*ZwpPointerGestureSwipeV1) Handler

func (*ZwpPointerGestureSwipeV1) SendBegin

func (obj *ZwpPointerGestureSwipeV1) SendBegin(serial uint32, time uint32, surface *wayland.WlSurface, fingers uint32) error

func (*ZwpPointerGestureSwipeV1) SendEnd

func (obj *ZwpPointerGestureSwipeV1) SendEnd(serial uint32, time uint32, cancelled int32) error

func (*ZwpPointerGestureSwipeV1) SendUpdate

func (obj *ZwpPointerGestureSwipeV1) SendUpdate(time uint32, dx wire.Fixed, dy wire.Fixed) error

type ZwpPointerGestureSwipeV1Handler

type ZwpPointerGestureSwipeV1Handler interface {
	Destroy(obj *ZwpPointerGestureSwipeV1) error
}

type ZwpPointerGesturesV1

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

func CreateZwpPointerGesturesV1

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

func (*ZwpPointerGesturesV1) Base

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

func (*ZwpPointerGesturesV1) Dispatch

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

func (*ZwpPointerGesturesV1) Handler

Jump to

Keyboard shortcuts

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