sptk2 logo
SPTK Home Page

sptk::CInputDialog Class Reference
[GUI Classes]

A single input Yes/No dialog box. More...

#include <CMessageDialog.h>

Inheritance diagram for sptk::CInputDialog:

sptk::CAskDialog sptk::CDialog sptk::CWindow sptk::CLayoutManager sptk::CWindowShape sptk::CLayoutClient

List of all members.

Public Member Functions

 CInputDialog (const char *label, int w=400)
bool execute (std::string msg, std::string &inputText)


Detailed Description

A single input Yes/No dialog box.

Creates a dialog with the text or HTML text of question (message) and two buttons (Ok/Cancel)


Constructor & Destructor Documentation

sptk::CInputDialog::CInputDialog ( const char *  label,
int  w = 400 
) [inline]

Constructor

Parameters:
label const char *, window caption
w int, window width

References sptk::CAskDialog::m_inputBox.


Member Function Documentation

bool sptk::CInputDialog::execute ( std::string  msg,
std::string &  inputText 
)

Shows message and waits for the user input

Parameters:
msg std::string, message to show
inputText std::string&, string to input


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

Mon Mar 5 11:56:17 2012: SPTK 3.5.7