Skip to main content

Type Alias: GtkGestureClickProps

GtkGestureClickProps = GtkGestureSingleProps & object

Defined in: generated/jsx.ts:10352

Props for the GtkGestureClick controller element.

Type Declaration

NameTypeDescriptionDefined in
onPressed()?(nPress, x, y, self) => void | nullEmitted whenever a button or touch press happens.generated/jsx.ts:10354
onReleased()?(nPress, x, y, self) => void | nullEmitted when a button or touch is released. n_press will report the number of press that is paired to this event, note that GestureClick.:stopped may have been emitted between the press and its release, n_press will only start over at the next press.generated/jsx.ts:10363
onStopped()?(self) => void | nullEmitted whenever any time/distance threshold has been exceeded.generated/jsx.ts:10365
onUnpairedRelease()?(x, y, button, sequence, self) => void | nullEmitted whenever the gesture receives a release event that had no previous corresponding press. Due to implicit grabs, this can only happen on situations where input is grabbed elsewhere mid-press or the pressed widget voluntarily relinquishes its implicit grab.generated/jsx.ts:10374
ref?Ref<Gtk.GestureClick>-generated/jsx.ts:10381