RSGT : Rust simple GUI Toolkit

rust-clippy analyze Crates.io Crates.io (latest)

RSGT is a simple GUI Library

Design

RSGT's event handling is based on Swing (Java) event handling. Also, the rendering of GUI components will be unique, so that components can be easily designed using CSS and other scripts.

Example

```Rust use rsgt::event::WindowListener; use rsgt::rframe::{FrameEvent, RFrame}; use rsgt::theme::WindowTheme;

fn main() { // Apply Visual Style (Windows only) rsgt::os::enablevisualstyle(); // Initialize RFrame let mut frame = RFrame::new("RSGT Sample window", 0, 1280, 720); // Add window listener(Callback to detect Window events) frame.addwindowlistener(SampleWindowListener {}); // Show window frame.run(); }

struct SampleWindowListener {}

impl WindowListener for SampleWindowListener { }

```

Goal

License

"RSGT" is under MIT LICENSE