mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-10 20:51:45 +00:00
add tab submenu
This commit is contained in:
parent
1c1907741d
commit
ab3a815b71
@ -15,6 +15,18 @@ pub fn new() -> MenuButton
|
|||||||
|
|
||||||
let model = gio::Menu::new();
|
let model = gio::Menu::new();
|
||||||
|
|
||||||
|
let model_tab = gio::Menu::new();
|
||||||
|
|
||||||
|
model_tab.append(
|
||||||
|
Some("Append"),
|
||||||
|
Some("win.tab_append")
|
||||||
|
);
|
||||||
|
|
||||||
|
model.append_submenu(
|
||||||
|
Some("Tab"),
|
||||||
|
&model_tab
|
||||||
|
);
|
||||||
|
|
||||||
model.append(
|
model.append(
|
||||||
Some("Debug"),
|
Some("Debug"),
|
||||||
Some("win.debug")
|
Some("win.debug")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user