62 lines
1.1 KiB
Plaintext
62 lines
1.1 KiB
Plaintext
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
Adw.ApplicationWindow mainWindow {
|
|
title: "Wince";
|
|
default-width: 700;
|
|
default-height: 500;
|
|
|
|
Gtk.Box {
|
|
orientation: vertical;
|
|
|
|
Adw.HeaderBar {}
|
|
|
|
Gtk.Box {
|
|
orientation: horizontal;
|
|
margin-top: 10;
|
|
margin-start: 14;
|
|
margin-bottom: 14;
|
|
margin-end: 14;
|
|
halign: center;
|
|
|
|
styles ["linked"]
|
|
|
|
Gtk.Entry searchEntry {
|
|
placeholder-text: "Search";
|
|
}
|
|
Gtk.Entry locationEntry {
|
|
placeholder-text: "Location";
|
|
}
|
|
Gtk.Button searchButton {
|
|
icon-name: "edit-find";
|
|
}
|
|
}
|
|
|
|
Gtk.Label poweredByText {
|
|
halign: center;
|
|
valign: center;
|
|
vexpand: true;
|
|
label: "Wince is powered by Yelp";
|
|
}
|
|
|
|
Adw.Leaflet leaflet {
|
|
visible: false;
|
|
|
|
Gtk.ScrolledWindow scrollWindow {
|
|
vexpand: true;
|
|
width-request: 300;
|
|
|
|
Gtk.ListBox searchResults {}
|
|
}
|
|
|
|
Gtk.Box {
|
|
Gtk.Label seeDetailsText {
|
|
label: "Select a result to see details";
|
|
hexpand: true;
|
|
halign: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|