feat: init adwaita
This commit is contained in:
parent
d03966ae42
commit
d9212b2285
23 changed files with 85 additions and 10 deletions
|
|
@ -20,6 +20,7 @@ relm4 = { git = "https://github.com/relm4/relm4", branch = "next", features = ["
|
|||
relm4-macros = { git = "https://github.com/relm4/relm4", branch = "next" }
|
||||
once_cell = "1.10.0"
|
||||
gtk4 = { git = "https://github.com/gtk-rs/gtk4-rs", features = ["v4_2"] }
|
||||
adw = { git = "https://gitlab.gnome.org/World/Rust/libadwaita-rs", package = "libadwaita"}
|
||||
async-io = "1.6.0"
|
||||
|
||||
[features]
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@ use tokio::runtime::Runtime;
|
|||
static RT: Lazy<Runtime> = Lazy::new(|| Runtime::new().expect("failed to build tokio runtime"));
|
||||
|
||||
fn main() {
|
||||
let _ = gtk4::init();
|
||||
adw::init();
|
||||
let application = Application::new(
|
||||
None,
|
||||
ApplicationFlags::default(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue