#include <dialogs.h>
Public Member Functions | |
| TextInputDialog (const Glib::ustring &label="Input text:", const Glib::ustring &defaultValue="") | |
| Constructor. | |
| Glib::ustring | get_text () const |
| Get the inputted text. | |
Private Member Functions | |
| void | construct (const Glib::ustring &label, const Glib::ustring &defaultValue) |
Private Attributes | |
| Gtk::Label * | m_Label |
| Gtk::Entry * | m_Entry |
This could be used where ever simple text input is needed
| TextInputDialog::TextInputDialog | ( | const Glib::ustring & | label = "Input text:", |
|
| const Glib::ustring & | defaultValue = "" | |||
| ) |
Constructor.
| label | Text to display in the label | |
| defaultValue | Default text to display in entry |
| Glib::ustring TextInputDialog::get_text | ( | ) | const [inline] |
Get the inputted text.
1.5.3