ghostty_mouse_event_clear_button function

  1. @Native<Void Function(GhosttyMouseEvent)>(GhosttyMouseEvent)>()
void ghostty_mouse_event_clear_button(
  1. GhosttyMouseEvent event
)

Clear the event button.

This sets the event button to "none".

@param event The event handle, must not be NULL

@ingroup mouse

Implementation

@ffi.Native<ffi.Void Function(GhosttyMouseEvent)>()
external void ghostty_mouse_event_clear_button(GhosttyMouseEvent event);