#gui #gtk #msgbox

msgbox

Simple, cross-platform message box GUI library. All it does is to show a message box modal with a OK button, which runs synchronously. All the other jobs stop until the user responds. It runs fine with OpenGL windows already open. It supports multi-platform, and maintains separate dependencies per platform, thus light-weight. Synchronous Message Modal Multi-platform (Linux GTK3+, Windows and OSX) Light-weight

5 releases (breaking)

Uses old Rust 2015

0.6.0 Nov 5, 2020
0.5.0 Apr 21, 2020
0.4.0 Oct 7, 2019
0.3.0 Oct 4, 2019
0.1.0 Jan 20, 2017

#40 in GUI

Download history 64/week @ 2020-08-09 98/week @ 2020-08-16 117/week @ 2020-08-23 93/week @ 2020-08-30 136/week @ 2020-09-06 101/week @ 2020-09-13 73/week @ 2020-09-20 49/week @ 2020-09-27 85/week @ 2020-10-04 70/week @ 2020-10-11 102/week @ 2020-10-18 84/week @ 2020-10-25 104/week @ 2020-11-01 75/week @ 2020-11-08 62/week @ 2020-11-15 67/week @ 2020-11-22

381 downloads per month
Used in 3 crates

MIT license

11KB
195 lines

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
[dependencies]
msgbox = "0.6.0"

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

Dependencies

~0.4–3.5MB
~93K SLoC