Expand description
Traits for working with plugin editors.
Structs§
- Modifiers
- Modifier keys held while a keyboard event was generated, as
reported by
Editor::on_virtual_key_from_host. Use the standardbitflagsAPI (contains,intersects,is_empty, etc.) to query individual modifiers.
Enums§
- Parent
Window Handle - A raw window handle for platform and GUI framework agnostic editors. This implements
HasRawWindowHandleso it can be used directly with GUI libraries that use the sameraw_window_handleversion. If the library links against a different version ofraw_window_handle, then you’ll need to wrap around this type and implement the trait yourself. - Virtual
KeyCode - A non-character key delivered to
Editor::on_virtual_key_from_host. Variant names mirror standard keyboard nomenclature; printable ASCII characters never appear here because they flow through the plugin window’s native keyboard path instead.