35 fMain->Connect(
"CloseWindow()",
"KVInputDialog",
this,
"DoClose()");
36 fMain->DontCallClose();
46 fTextEntry =
new KVTextEntry(fMain, answer->Data());
47 if (strcmp(tooltip,
""))
48 fTextEntry->SetToolTipText(tooltip);
50 fTextEntry->Resize(
l->GetDefaultWidth(), fTextEntry->GetDefaultHeight());
54 fMain->AddFrame(fTextEntry,
58 fMain->SetWindowName(
"KVInputDialog");
59 fMain->SetIconName(
"KVInputDialog");
72 height = fOKBut->GetDefaultHeight();
75 fOKBut->Connect(
"Clicked()",
"KVInputDialog",
this,
"ReadAnswer()");
76 fOKBut->Connect(
"Clicked()",
"KVInputDialog",
this,
"DoClose()");
80 height = fCancelBut->GetDefaultHeight();
83 fCancelBut->Connect(
"Clicked()",
"KVInputDialog",
this,
"DoClose()");
88 fMain->AddFrame(hf, l1);
94 fMain->MapSubwindows();
96 width = fMain->GetDefaultWidth();
97 height = fMain->GetDefaultHeight();
102 fMain->CenterOnParent();
113 fMain->CenterOnParent();
TGTextEntry without any limit on the length of the text.
const char * GetText() const