Expand description
Traits for working with plugin editors.
Re-exports§
pub use dpi;
Structs§
- Dummy
Editor Error - Host
Methods - 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. - Resize
Hint - Describes whether and how a host may resize an
Editor, returned fromEditor::resize_hint(). - Spawned
Editor
Enums§
- Parent
Window Handle - A raw window handle for platform and GUI framework agnostic editors. This implements
HasWindowHandleso 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. - Size
Constraints - Virtual
KeyCode - A non-character key delivered to
EditorHandle::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.
Traits§
- Editor
- An editor for a
Plugin. - Editor
Handle - A handle to spawned instance of an
Editor. - Host
Callbacks - A handler for baseview windows to interact with their host.
- Host
Main Thread Caller - A special handler for the Window thread to wake up and call methods on the main thread.