Skip to main content

Type Alias: GtkGestureStylusProps

GtkGestureStylusProps = GtkGestureSingleProps & object

Defined in: generated/jsx.ts:10438

Props for the GtkGestureStylus controller element.

Type Declaration

NameTypeDescriptionDefined in
onDown()?(x, y, self) => void | nullEmitted when the stylus touches the device.generated/jsx.ts:10442
onMotion()?(x, y, self) => void | nullEmitted when the stylus moves while touching the device.generated/jsx.ts:10444
onProximity()?(x, y, self) => void | nullEmitted when the stylus is in proximity of the device.generated/jsx.ts:10446
onUp()?(x, y, self) => void | nullEmitted when the stylus no longer touches the device.generated/jsx.ts:10448
ref?Ref<Gtk.GestureStylus>-generated/jsx.ts:10449
stylusOnly?booleanIf this gesture should exclusively react to stylus input devices.generated/jsx.ts:10440