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