core: button: add keyboard method to insert text
This commit is contained in:
parent
8f7e9dfe7a
commit
db2a8cdeab
3 changed files with 16 additions and 5 deletions
|
|
@ -111,6 +111,7 @@ pub trait Keyboard {
|
|||
|
||||
fn press(&mut self, sym: Keysym);
|
||||
fn release(&mut self, sym: Keysym);
|
||||
fn text(&mut self, text: &str);
|
||||
fn change_layout(&mut self, layout: &Layout);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue