Skip to main content

Type Alias: GtkGestureLongPressProps

GtkGestureLongPressProps = GtkGestureSingleProps & object

Defined in: generated/jsx.ts:10394

Props for the GtkGestureLongPress controller element.

Type Declaration

NameTypeDescriptionDefined in
delayFactor?numberFactor by which to modify the default timeout.generated/jsx.ts:10396
onCancelled()?(self) => void | nullEmitted whenever a press moved too far, or was released before GestureLongPress.:pressed happened.generated/jsx.ts:10401
onPressed()?(x, y, self) => void | nullEmitted whenever a press goes unmoved/unreleased longer than what the GTK defaults tell.generated/jsx.ts:10406
ref?Ref<Gtk.GestureLongPress>-generated/jsx.ts:10407