msgbox

Crates.iomsgbox
lib.rsmsgbox
version0.7.0
sourcesrc
created_at2017-01-20 09:47:46.327444
updated_at2022-02-15 02:26:44.119861
descriptionA multi-platform message box modal with a OK button, which runs synchronously.
homepage
repositoryhttps://github.com/bekker/msgbox-rs
max_upload_size
id8146
size30,119
Jang Ryeol (bekker)

documentation

README

msgbox-rs

OS Build Status
Linux & OS X Build Status
Windows Build status
extern crate msgbox;

use msgbox::IconType;

fn main() {
    msgbox::create("Hello Title", "Hello World!", IconType::Info);
}

Simple, cross-platform message box GUI library.

All it does is to show a message box modal with an OK button, which runs synchronously.

It supports multi-platform, and maintains separate dependencies per platform, thus light-weight.

Example use case is to show a modal when an error occurs in OpenGL applications.

  • Synchronous Message Modal
  • Multi-platform (Linux GTK3+, Windows and OS X)
  • Light-weight

Platform support

  • Linux with GTK 3+ (Tested on Ubuntu Gnome 16.04)
  • Windows (Tested on Windows 8.1 and 10)
  • OS X (Tested on MacOS 10.13.3 High Sierra)

Dev Requirements

Linux

  • libgtk-3-dev for apt
  • gtk3-devel for yum

Windows

  • Windows version compatible with winapi

OS X

  • Tested on High Sierra 10.13.3, but it should work on 10.3+

License

Distributed under MIT License

Commit count: 77

cargo fmt