Expand description
Some utility functions that pop up all the time.
Structs§
- Mouse
Flags - Some state for mouse interactions.
- Mouse
FlagsN - Some state for mouse interactions with multiple areas.
Enums§
- Clicks
- Click states for double click.
Functions§
- column_
at - Column at given position. This uses only the horizontal components of the given areas.
- column_
at_ drag - Find a column position when dragging with the mouse. This uses positions
outside the given areas to estimate an invisible column that could be meant
by the mouse position. It uses the heuristic
1 column == 1 itemfor simplicity’s sake. - double_
click_ timeout - The global double click time-out between consecutive clicks. In milliseconds.
- have_
keyboard_ enhancement - Are enhanced keys available?
Only if true
ReleaseandRepeatkeys are available. - item_at
- Which of the given rects is at the position.
- mouse_
trap - This function consumes all mouse-events in the given area, except Drag events.
- row_at
- Which row of the given area contains the position. This uses only the vertical components of the given areas.
- row_
at_ drag - Find a row position when dragging with the mouse. This uses positions
outside the given areas to estimate an invisible row that could be meant
by the mouse position. It uses the heuristic
1 row == 1 itemfor simplicity’s sake. - set_
double_ click_ timeout - Sets the global double click time-out between consecutive clicks. In milliseconds.
- set_
have_ keyboard_ enhancement - Set the flag for enhanced keys.