Crates.io | winey |
lib.rs | winey |
version | 0.1.1 |
source | src |
created_at | 2023-04-19 14:04:32.183673 |
updated_at | 2023-04-22 04:51:28.505872 |
description | Simple windowing library |
homepage | |
repository | |
max_upload_size | |
id | 843579 |
size | 35,045 |
use winey::window::Window;
use winey::{KeyCode, WindowEvent, WineyWindowImplementation};
fn main() {
let window = Window::new("Hello World", 500, 500);
window.show();
window.run(|event,control_flow| {
match event {
WindowEvent::CloseRequested => {
control_flow.exit(0);
}
_ => {
}
}
})
}
Winey is under MIT LICENSE