Draft widget operations
This commit is contained in:
parent
a003e797e8
commit
80688689aa
16 changed files with 395 additions and 55 deletions
5
native/src/widget/state.rs
Normal file
5
native/src/widget/state.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
pub trait Focusable {
|
||||
fn is_focused(&self) -> bool;
|
||||
fn focus(&mut self);
|
||||
fn unfocus(&mut self);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue