mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
draft pin tab feature
This commit is contained in:
parent
4b78ccb779
commit
f2427c453e
8 changed files with 64 additions and 20 deletions
|
|
@ -16,7 +16,7 @@ impl Main {
|
|||
|
||||
// Init struct
|
||||
Arc::new(Self {
|
||||
widget: widget::Main::new(tab.widget().gtk()), // @TODO
|
||||
widget: widget::Main::new(tab.widget().tab()), // @TODO
|
||||
tab,
|
||||
})
|
||||
}
|
||||
|
|
@ -26,6 +26,10 @@ impl Main {
|
|||
self.tab.append(true);
|
||||
}
|
||||
|
||||
pub fn tab_pin(&self) {
|
||||
self.tab.pin();
|
||||
}
|
||||
|
||||
// Getters
|
||||
pub fn widget(&self) -> &widget::Main {
|
||||
&self.widget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue