InputDialog Class Reference

List of all members.

Public Member Functions

 InputDialog (const char *prompt, const char *defval, char *retstr)
 ~InputDialog ()
void ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)

Private Attributes

TGTransientFramefDialog
TGTextEntryfTE
TListfWidgets
char * fRetStr

Detailed Description

Definition at line 39 of file Dialogs.C.


Constructor & Destructor Documentation

InputDialog::InputDialog ( const char *  prompt,
const char *  defval,
char *  retstr 
)

Definition at line 64 of file Dialogs.C.

References TList::Add(), TGCompositeFrame::AddFrame(), TGTextBuffer::AddText(), b, fDialog, fRetStr, fTE, fWidgets, gClient, TGCompositeFrame::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultWidth(), TGClient::GetRoot(), gVirtualX, height, kFixedWidth, kLHintsBottom, kLHintsCenterX, kLHintsCenterY, kLHintsExpandX, kLHintsLeft, kLHintsTop, kMWMDecorAll, kMWMDecorMaximize, kMWMDecorMenu, kMWMDecorMinimize, kMWMDecorResizeH, kMWMFuncAll, kMWMFuncMaximize, kMWMFuncMinimize, kMWMFuncResize, kMWMInputModeless, main(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TMath::Max(), TGFrame::Move(), TGFrame::Resize(), TGWidget::SetCommand(), TGMainFrame::SetMWMHints(), TGMainFrame::SetWindowName(), TGMainFrame::SetWMPosition(), TGMainFrame::SetWMSize(), TGMainFrame::SetWMSizeHints(), sprintf(), TGClient::WaitFor(), and width.

InputDialog::~InputDialog (  ) 

Definition at line 53 of file Dialogs.C.

References TList::Delete(), fDialog, fTE, and fWidgets.


Member Function Documentation

void InputDialog::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
)

Definition at line 171 of file Dialogs.C.

References fRetStr, fTE, GET_MSG(), GET_SUBMSG(), TGTextEntry::GetBuffer(), TGTextBuffer::GetString(), kC_COMMAND, kC_TEXTENTRY, kCM_BUTTON, kTE_ENTER, and strcpy().


Member Data Documentation

TGTransientFrame* InputDialog::fDialog [private]

Definition at line 42 of file Dialogs.C.

Referenced by InputDialog(), and ~InputDialog().

TGTextEntry* InputDialog::fTE [private]

Definition at line 43 of file Dialogs.C.

Referenced by InputDialog(), ProcessMessage(), and ~InputDialog().

TList* InputDialog::fWidgets [private]

Definition at line 44 of file Dialogs.C.

Referenced by InputDialog(), and ~InputDialog().

char* InputDialog::fRetStr [private]

Definition at line 45 of file Dialogs.C.

Referenced by InputDialog(), and ProcessMessage().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:31:08 2011 for ROOT_528-00b_version by  doxygen 1.5.1