Skip to main content

Module document_event_handler

Module document_event_handler 

Source

StructsΒ§

ButtonClickState πŸ”’
A data structure used for tracking the state of a particular mouse button’s clicks. This is used to determine when to fire click events and for click counting. Click counts can be reset to 0 if a mouse button event happens at a sufficient distance or time from the previous one.
DocumentEventHandler πŸ”’
The DocumentEventHandler is a structure responsible for handling input events for the [crate::Document] and storing data related to event handling. It exists to decrease the size of the [crate::Document] structure.
MouseClickTracker πŸ”’

FunctionsΒ§

character_to_code πŸ”’
keyboard_event_fires_keypress_event πŸ”’
Whether a given EmbedderKeyboardEvent should trigger a keypress event.