A simple, easy-to-use, cross-platform, dialog API, inspired by the GameMaker Language dialog functions. You may dynamically link your projects to the pre-built binaries, or just include the "libdlgmod/libdlgmod.h" header.
Supports Windows, macOS, Linux, FreeBSD, DragonFly BSD, NetBSD, OpenBSD, and SunOS. Linux, FreeBSD, DragonFly BSD, NetBSD, OpenBSD, and SunOS versions require either zenity or kdialog being installed on the target system. Includes Message Box with OK, OK/Cancel, Yes/No, Yes/No/Cancel, Retry/Cancel, Abort, Abort/Ignore, Input Box for strings and numbers, Password Box for strings and numbers, Open File, Multi-Select Files, Save File, Folder Browser, and Color Picker. The File Dialogs support Multiple Filters, each of which, may be selected from a drop-down menu. Uses 100% native Win32, Cocoa, GTK+, and Qt for all the dialog types. Originally was intended as a GameMaker extension, though can be used in other engines and languages.
Debian-based Linux distributions: sudo apt install zenity
Fedora-based Linux distributions: sudo yum install zenity
Arch-based Linux distributions: sudo pacman -Sy zenity
FreeBSD-based BSD distributions: sudo pkg install zenity
Debian-based Linux distributions: sudo apt install kdialog
RedHat-based Linux distributions: sudo yum install kdialog
Arch-based Linux distributions: sudo pacman -Sy kdialog
FreeBSD-based BSD distributions: sudo pkg install kdialog
Available for download from itch.io freely for GameMaker use here.
Documentation for all of the functions included can be found here.
Downloadable PDF for offline viewing of the documentation is here.