mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 22:54:36 +00:00
Prepare for key event delivery to a specific focus item
Begin by routing key events through the component. In the future that will direct the event to the focus item.
This commit is contained in:
parent
2b76e9277a
commit
aa5babffe1
8 changed files with 82 additions and 15 deletions
|
@ -133,9 +133,9 @@ pub mod re_exports {
|
|||
PathArcTo, PathData, PathElement, PathEvent, PathLineTo, Point, Rect, Size,
|
||||
};
|
||||
pub use sixtyfps_corelib::input::{
|
||||
process_ungrabbed_mouse_event, InputEventResult, KeyCode, KeyEvent, KeyEventResult,
|
||||
KeyboardModifiers, MouseEvent, ALT_MODIFIER, CONTROL_MODIFIER, COPY_PASTE_MODIFIER,
|
||||
LOGO_MODIFIER, NO_MODIFIER, SHIFT_MODIFIER,
|
||||
process_key_event, process_ungrabbed_mouse_event, InputEventResult, KeyCode, KeyEvent,
|
||||
KeyEventResult, KeyboardModifiers, MouseEvent, ALT_MODIFIER, CONTROL_MODIFIER,
|
||||
COPY_PASTE_MODIFIER, LOGO_MODIFIER, NO_MODIFIER, SHIFT_MODIFIER,
|
||||
};
|
||||
pub use sixtyfps_corelib::item_tree::{
|
||||
item_offset, visit_item_tree, ItemTreeNode, ItemVisitorRefMut, ItemVisitorVTable,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue