TextDialog Class Reference
[Core GUI related classes (widgets)]

#include <textdialog.h>

Inheritance diagram for TextDialog:

Window

List of all members.


Detailed Description

An option dialog.

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

TextFieldmTextField
gcn::Button * mOkButton

Constructor & Destructor Documentation

TextDialog::TextDialog ( const std::string &  title,
const std::string &  msg,
Window parent = NULL 
)

Constructor.

See also:
Window::Window

Definition at line 30 of file textdialog.cpp.


Member Function Documentation

void TextDialog::action ( const gcn::ActionEvent &  event  ) 

Called when receiving actions from the widgets.

Definition at line 68 of file textdialog.cpp.

const std::string & TextDialog::getText (  )  const

Get the text in the textfield.

Definition at line 83 of file textdialog.cpp.

void TextDialog::setOKButtonActionId ( const std::string &  name  ) 

Set the OK button action id.

Definition at line 88 of file textdialog.cpp.


Member Data Documentation

Definition at line 63 of file textdialog.h.

gcn::Button* TextDialog::mOkButton [private]

Definition at line 64 of file textdialog.h.


The documentation for this class was generated from the following files:

Generated on Sun Apr 26 17:30:44 2009 for The Mana World by  doxygen 1.5.5