mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
add new getters, switch accel target
This commit is contained in:
parent
38f945105c
commit
5f280efaf3
4 changed files with 23 additions and 1 deletions
|
|
@ -165,6 +165,11 @@ impl Window {
|
|||
}
|
||||
|
||||
// Getters
|
||||
|
||||
pub fn tab(&self) -> &Rc<Tab> {
|
||||
&self.tab
|
||||
}
|
||||
|
||||
pub fn gobject(&self) -> &Box {
|
||||
self.widget.gobject()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -396,6 +396,11 @@ impl Tab {
|
|||
}
|
||||
|
||||
// Getters
|
||||
|
||||
pub fn action(&self) -> &Rc<Action> {
|
||||
&self.action
|
||||
}
|
||||
|
||||
pub fn gobject(&self) -> &TabView {
|
||||
self.widget.gobject()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue