mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
init navbar components
This commit is contained in:
parent
38659b45ca
commit
0759f14843
10 changed files with 240 additions and 2 deletions
22
src/app/browser/main/tab/page/navigation/bookmark.rs
Normal file
22
src/app/browser/main/tab/page/navigation/bookmark.rs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
use gtk::Button;
|
||||
|
||||
pub fn new() -> Button
|
||||
{
|
||||
let button = Button::builder()
|
||||
|
||||
.icon_name(
|
||||
"starred-symbolic"
|
||||
)
|
||||
|
||||
.tooltip_text(
|
||||
"Toggle bookmark"
|
||||
)
|
||||
|
||||
.sensitive(
|
||||
false
|
||||
)
|
||||
|
||||
.build();
|
||||
|
||||
return button;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue