abletk/src/main.rs
2022-04-16 20:25:56 +03:00

18 lines
492 B
Rust
Executable file

/*
* Copyright (C) 2022 Umut İnan Erdoğan <umutinanerdogan@pm.me>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
use abletk::plugin::QuitPlugin;
use abletk::prelude::*;
#[launch]
fn launch() -> _ {
Application::new()
.apply_plugin(QuitPlugin)
.add_window(Window::builder(Label::new("Hello, AbleTK!")))
}