mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
draft close all tabs actions
This commit is contained in:
parent
91ad71033a
commit
6801cc6a05
4 changed files with 34 additions and 1 deletions
|
|
@ -29,6 +29,14 @@ impl Main {
|
|||
self.tab.append(true);
|
||||
}
|
||||
|
||||
pub fn tab_close(&self) {
|
||||
self.tab.close();
|
||||
}
|
||||
|
||||
pub fn tab_close_all(&self) {
|
||||
self.tab.close();
|
||||
}
|
||||
|
||||
pub fn tab_pin(&self) {
|
||||
self.tab.pin();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,8 +25,16 @@ impl Tab {
|
|||
)
|
||||
}
|
||||
|
||||
pub fn close(&self) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
pub fn close_all(&self) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
pub fn pin(&self) -> bool {
|
||||
false // @TODO
|
||||
todo!()
|
||||
}
|
||||
|
||||
// Getters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue