mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
init header components
This commit is contained in:
parent
0759f14843
commit
0c8684491b
7 changed files with 210 additions and 1 deletions
14
src/app/browser/header/tray/menu.rs
Normal file
14
src/app/browser/header/tray/menu.rs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
use gtk::MenuButton;
|
||||
|
||||
pub fn new() -> MenuButton
|
||||
{
|
||||
let menu = MenuButton::builder()
|
||||
|
||||
.tooltip_text(
|
||||
"Menu"
|
||||
)
|
||||
|
||||
.build();
|
||||
|
||||
return menu;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue