Merge remote-tracking branch 'origin/main' into go-to-definition
This commit is contained in:
commit
19751e9200
5 changed files with 20 additions and 4 deletions
|
@ -86,6 +86,7 @@ pub trait Window: WindowContext {
|
|||
fn on_resize(&mut self, callback: Box<dyn FnMut()>);
|
||||
fn on_close(&mut self, callback: Box<dyn FnOnce()>);
|
||||
fn prompt(&self, level: PromptLevel, msg: &str, answers: &[&str]) -> oneshot::Receiver<usize>;
|
||||
fn activate(&self);
|
||||
}
|
||||
|
||||
pub trait WindowContext {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue