Documentation
¶
Index ¶
- Variables
- type ZwpPointerGestureHoldV1
- type ZwpPointerGestureHoldV1Handler
- type ZwpPointerGesturePinchV1
- type ZwpPointerGesturePinchV1Handler
- type ZwpPointerGestureSwipeV1
- type ZwpPointerGestureSwipeV1Handler
- type ZwpPointerGesturesV1
- func (obj *ZwpPointerGesturesV1) Base() *wire.Object
- func (obj *ZwpPointerGesturesV1) Dispatch(msg *wire.Message) error
- func (obj *ZwpPointerGesturesV1) GetHoldGesture(h ZwpPointerGestureHoldV1Handler, pointer *wayland.WlPointer) (*ZwpPointerGestureHoldV1, error)
- func (obj *ZwpPointerGesturesV1) GetPinchGesture(h ZwpPointerGesturePinchV1Handler, pointer *wayland.WlPointer) (*ZwpPointerGesturePinchV1, error)
- func (obj *ZwpPointerGesturesV1) GetSwipeGesture(h ZwpPointerGestureSwipeV1Handler, pointer *wayland.WlPointer) (*ZwpPointerGestureSwipeV1, error)
- func (obj *ZwpPointerGesturesV1) Release() error
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 CreateZwpPointerGestureHoldV1 ¶
func CreateZwpPointerGestureHoldV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ZwpPointerGestureHoldV1) (ZwpPointerGestureHoldV1Handler, error)) (*ZwpPointerGestureHoldV1, error)
func NewZwpPointerGestureHoldV1 ¶
func NewZwpPointerGestureHoldV1(p wire.Peer, version uint32, h ZwpPointerGestureHoldV1Handler) (*ZwpPointerGestureHoldV1, error)
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 ¶
func (obj *ZwpPointerGestureHoldV1) Handler() ZwpPointerGestureHoldV1Handler
type ZwpPointerGesturePinchV1 ¶
type ZwpPointerGesturePinchV1 struct {
// contains filtered or unexported fields
}
func CreateZwpPointerGesturePinchV1 ¶
func CreateZwpPointerGesturePinchV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ZwpPointerGesturePinchV1) (ZwpPointerGesturePinchV1Handler, error)) (*ZwpPointerGesturePinchV1, error)
func NewZwpPointerGesturePinchV1 ¶
func NewZwpPointerGesturePinchV1(p wire.Peer, version uint32, h ZwpPointerGesturePinchV1Handler) (*ZwpPointerGesturePinchV1, error)
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 ¶
func (obj *ZwpPointerGesturePinchV1) Handler() ZwpPointerGesturePinchV1Handler
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 CreateZwpPointerGestureSwipeV1 ¶
func CreateZwpPointerGestureSwipeV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ZwpPointerGestureSwipeV1) (ZwpPointerGestureSwipeV1Handler, error)) (*ZwpPointerGestureSwipeV1, error)
func NewZwpPointerGestureSwipeV1 ¶
func NewZwpPointerGestureSwipeV1(p wire.Peer, version uint32, h ZwpPointerGestureSwipeV1Handler) (*ZwpPointerGestureSwipeV1, error)
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 ¶
func (obj *ZwpPointerGestureSwipeV1) Handler() ZwpPointerGestureSwipeV1Handler
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 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 (obj *ZwpPointerGesturesV1) GetHoldGesture(h ZwpPointerGestureHoldV1Handler, pointer *wayland.WlPointer) (*ZwpPointerGestureHoldV1, error)
func (*ZwpPointerGesturesV1) GetPinchGesture ¶
func (obj *ZwpPointerGesturesV1) GetPinchGesture(h ZwpPointerGesturePinchV1Handler, pointer *wayland.WlPointer) (*ZwpPointerGesturePinchV1, error)
func (*ZwpPointerGesturesV1) GetSwipeGesture ¶
func (obj *ZwpPointerGesturesV1) GetSwipeGesture(h ZwpPointerGestureSwipeV1Handler, pointer *wayland.WlPointer) (*ZwpPointerGestureSwipeV1, error)
func (*ZwpPointerGesturesV1) Release ¶
func (obj *ZwpPointerGesturesV1) Release() error
Click to show internal directories.
Click to hide internal directories.