winey 0.1.1

Simple windowing library
docs.rs failed to build winey-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

Winey - Windowing library for Rust

Lines of code

Target

  • Simple and easy to use
  • Highly customizable (see detailed examples here)

Supported platforms

  • Windows
  • MacOS
  • Xlib
  • Wayland

Example

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);
            }

            _ => {

            }
        }
    })
}

License

Winey is under MIT LICENSE