#include <textdialog.h>
Definition at line 36 of file textdialog.h.
Public Member Functions | |
TextDialog (const std::string &title, const std::string &msg, Window *parent=NULL) | |
Constructor. | |
void | action (const gcn::ActionEvent &event) |
Called when receiving actions from the widgets. | |
const std::string & | getText () const |
Get the text in the textfield. | |
void | setOKButtonActionId (const std::string &name) |
Set the OK button action id. | |
Private Attributes | |
TextField * | mTextField |
gcn::Button * | mOkButton |
TextDialog::TextDialog | ( | const std::string & | title, | |
const std::string & | msg, | |||
Window * | parent = NULL | |||
) |
void TextDialog::action | ( | const gcn::ActionEvent & | event | ) |
const std::string & TextDialog::getText | ( | ) | const |
void TextDialog::setOKButtonActionId | ( | const std::string & | name | ) |
TextField* TextDialog::mTextField [private] |
Definition at line 63 of file textdialog.h.
gcn::Button* TextDialog::mOkButton [private] |
Definition at line 64 of file textdialog.h.