UI action
base class for custom events
Keyboard event
Mouse event
Queue destroy event.
operation to execute (usually sent from background threads to run some code in UI thread)
Slider/scrollbar event
Define when action need state update - optimization for high frequently uses actions
Keyboard actions for KeyEvent
Key code constants for KeyEvent
Keyboard flags for KeyEvent
Mouse action codes for MouseEvent
Mouse button codes for MouseEvent
Mouse flag bits (mouse buttons and keyboard modifiers) for MouseEvent
Scroll bar / slider action codes for ScrollEvent.
converts id to name for actions registered by registerActionEnum, returns null if not found
converts action name id for for actions registered by registerActionEnum, returns 0 if not found
clear global action accelerators map
lookup accelerators override for action by id
lookup accelerators override for action by name (e.g. "EditorActions.ToggleLineComment")
Converts KeyCode enum value to human readable key name
converts MouseButton to MouseFlag
Converts key name to KeyCode enum value For unknown key code, returns 0
register enum items as action names and ids for lookup by actionIdToName and actionNameToId functions (names will be generated as "EnumName.EnumItemName")
overrides accelerators for action by id
Match key flags
double click max interval, milliseconds; may be changed by platform
Keyboard accelerator (key + modifiers)
List of Actions, for looking up Action by key
Map of Accelerator to Action
use to for requesting of action state (to enable/disable, hide, get check status, etc)
Mouse button state details for MouseEvent
use this ID for menu and toolbar separators
This module contains dlangui event types declarations.
Event types: MouseEvent, KeyEvent, ScrollEvent.
Action and Accelerator.