64 fDialog->
Connect(
"CloseWindow()",
"TGPasswdDialog",
this,
"CloseWindow()");
76 fPasswd->
Connect(
"ReturnPressed()",
"TGPasswdDialog",
this,
"ReturnPressed()");
83 fOk->
Connect(
"Clicked()",
"TGPasswdDialog",
this,
"ReturnPressed()");
104 (mw - width) >> 1, (mh - height) >> 1, ax, ay, wdum);
155 Error(
"ReturnPressed",
"passwd buffer undefined");
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
void SetWindowName(const char *name=0)
Set window name. This is typically done via the window manager.
TGTextBuffer * fPasswdText
virtual UInt_t GetDefaultHeight() const
TGTransientFrame * fDialog
void SetIconName(const char *name)
Set window icon name. This is typically done via the window manager.
void DoClose()
Handle close button.
void SetWMSizeHints(UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc)
Give the window manager minimum and maximum size hints.
virtual void SetFocus()
Set focus to this text entry.
const char * GetString() const
void CloseWindow()
Called when closed via window manager action.
void Error(const char *location, const char *msgfmt,...)
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
virtual void SendCloseMessage()
Send close message to self.
virtual UInt_t GetDefaultWidth() const
virtual ~TGPasswdDialog()
Delete log window.
virtual void Move(Int_t x, Int_t y)
Move frame.
TGPasswdDialog(const char *prompt, char *pwdbuf, Int_t pwdlenmax, UInt_t w=400, UInt_t h=400)
Create an editor in a dialog.
virtual UInt_t GetDefaultHeight() const
virtual void SetCursorPosition(Int_t pos)
Set the cursor position to newPos.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
void ReturnPressed()
Handle return.
virtual void UnmapWindow()
void SetWMPosition(Int_t x, Int_t y)
Give the window manager a window position hint.
void SetWMSize(UInt_t w, UInt_t h)
Give the window manager a window size hint.
virtual void SetEchoMode(EEchoMode mode=kNormal)
The echo modes available are: