mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45: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/request.rs
Normal file
22
src/app/browser/main/tab/page/navigation/request.rs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
use gtk::Entry;
|
||||
|
||||
pub fn new() -> Entry
|
||||
{
|
||||
let entry = Entry::builder()
|
||||
|
||||
.placeholder_text(
|
||||
"URL or search term..."
|
||||
)
|
||||
|
||||
.hexpand(
|
||||
true
|
||||
)
|
||||
|
||||
.progress_pulse_step(
|
||||
0.1
|
||||
)
|
||||
|
||||
.build();
|
||||
|
||||
return entry;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue