rsgt 0.2.2

Rust simple GUI Toolkit
docs.rs failed to build rsgt-0.2.2
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.
Visit the last successful build: rsgt-0.2.0

RSGT : Rust simple GUI Toolkit

rust-clippy analyze Crates.io Crates.io

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

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

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

struct SampleWindowListener {}

impl WindowListener for SampleWindowListener {
}

Goal

  • To be able to handle a wide range of applications from simple to complex
  • Ensure that the same code works the same in any environment

License

"RSGT" is under MIT LICENSE