| » Metadata | » Status |
|---|---|
|
|
| » Description | |
|
Gtk2 message box with text entry field. As there is no default widget in PHP-Gtk2, I decided to write this class to make it as easy as possible to get simple input from the user. There are three ways to get the text: - Normal constructor with (somewhat complicated) parameters as known from GtkMessageDialog. Run the dialog and use getText() to get the text. - new_simple() static method constructor with only one required parameter for the text. Run the dialog and use getText() to retrieve the text. - Static get() method that just returns the inputted text instead of the dialog itself. This is the most convenient and code-saving method to get an input. |
|
| » Dependencies | » Links |
|
|
|
| » Timeline | » Changelog |
|
|