TextInputDialog Class Reference

Generic input dialog for text. More...

#include <dialogs.h>

List of all members.

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


Detailed Description

Generic input dialog for text.

This could be used where ever simple text input is needed


Constructor & Destructor Documentation

TextInputDialog::TextInputDialog ( const Glib::ustring &  label = "Input text:",
const Glib::ustring &  defaultValue = "" 
)

Constructor.

Parameters:
label Text to display in the label
defaultValue Default text to display in entry


Member Function Documentation

Glib::ustring TextInputDialog::get_text (  )  const [inline]

Get the inputted text.

Returns:
Text from the entry


The documentation for this class was generated from the following files:
Generated on Fri Feb 22 22:34:19 2008 for Phoenix Wright Case Editor API by  doxygen 1.5.3