#gui #gtk #msgbox

msgbox

A multi-platform message box modal with a OK button, which runs synchronously

6 releases (breaking)

Uses old Rust 2015

0.6.1 Jul 2, 2021
0.6.0 Nov 5, 2020
0.5.0 Apr 21, 2020
0.4.0 Oct 7, 2019
0.1.0 Jan 20, 2017

#44 in GUI

Download history 125/week @ 2021-04-03 196/week @ 2021-04-10 287/week @ 2021-04-17 237/week @ 2021-04-24 325/week @ 2021-05-01 200/week @ 2021-05-08 219/week @ 2021-05-15 204/week @ 2021-05-22 179/week @ 2021-05-29 193/week @ 2021-06-05 236/week @ 2021-06-12 211/week @ 2021-06-19 270/week @ 2021-06-26 227/week @ 2021-07-03 233/week @ 2021-07-10 235/week @ 2021-07-17

936 downloads per month
Used in less than 6 crates

MIT license

10KB
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–4MB
~95K SLoC