rsgt 0.1.7

Rust simple GUI Toolkit
Documentation
//========================================================================
// RSGT | lib.rs - https://overtimecoder.github.io
//------------------------------------------------------------------------
// Lib
//------------------------------------------------------------------------
//
// Author LatteS
//
// File was created in 2022/12/31
//
//========================================================================
//! # RSGT : Rust simple GUI Toolkit
//! # Event handling
//! RSGT's event handling is based on Swing (Java) event handling.
//! [Event Listener](event/trait.EventListener.html)

pub mod error;
pub mod event;
pub mod graphic;
pub mod msgbox;
pub mod os;
pub mod rframe;

// Modules
pub mod widget;

/// Message Box Results
/// Enumerator for 'match' in message box result
pub enum ResponseType {
    /// If nothing has changed
    None,
    /// When OK is pressed
    Ok,
    /// When Yes is pressed
    Yes,
    /// When No is pressed
    No,
    /// When Cancel is pressed
    Cancel,
    /// When Close is pressed
    Close,
}

/// Window themes
/// Enumerator for specifying the window theme
pub enum WindowTheme {
    /// Follow the system settings
    Auto,
    /// Light theme
    Light,
    /// Dark theme
    Dark,
}

/// Window buttons
/// Enumerator for specifying window buttons
pub enum WindowButton {
    /// Close button
    Close,
    /// Maximize button
    Maximize,
    /// Minimize button
    Minimize,
}