PHP is mostly used for developing server side Web sites and applications. However, PHP can also be used for non-Web applications. Extensions like PHP-GTK have been making it possible to develop rich desktop applications using only PHP.
This class provides a straight forward means to let developers without much knowlegde of writing PHP desktop applications, to create and manage simpĺe message boxes using PHP-GTK.
This class is meant to create and manage the input events of message box desktop window to wait for the user input using PHP-Gtk extension.
You can create a message box window specifying its title message, the icon to present with the message, the buttons with the text of the options that the user can choose, popup or modal window mode.
The class can open the message box window and return the identification of the button that was clicked by the user.