mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
enable tab append, rename struct members
This commit is contained in:
parent
1293da7955
commit
a1aaebdb7e
3 changed files with 12 additions and 14 deletions
|
|
@ -96,10 +96,8 @@ impl Tab {
|
|||
// Register dynamically created tab components in the HashMap index
|
||||
self.index.borrow_mut().insert(item.id(), item.clone());
|
||||
|
||||
// Append new Notebook page
|
||||
/* @TODO
|
||||
self.widget
|
||||
.append(item.label(), item.page(), item.is_initially_current()); */
|
||||
// Append new page
|
||||
self.widget.gobject().add_page(item.gobject(), None);
|
||||
|
||||
if page_navigation_request_text.is_none() {
|
||||
item.page_navigation_request_grab_focus(); // @TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue