Skip to main content

Type Alias: GtkEventControllerMotionProps

GtkEventControllerMotionProps = EventControllerBaseProps & object

Defined in: generated/jsx.ts:10249

Props for the GtkEventControllerMotion controller element.

Type Declaration

NameTypeDescriptionDefined in
onEnter()?(x, y, self) => void | nullSignals that the pointer has entered the widget.generated/jsx.ts:10251
onLeave()?(self) => void | nullSignals that the pointer has left the widget.generated/jsx.ts:10253
onMotion()?(x, y, self) => void | nullEmitted when the pointer moves inside the widget.generated/jsx.ts:10255
ref?Ref<Gtk.EventControllerMotion>-generated/jsx.ts:10256