Graphic dialog to enter passwords.
Usage:
Definition at line 24 of file TGPasswdDialog.h.
Public Member Functions | |
TGPasswdDialog (const char *prompt, char *pwdbuf, Int_t pwdlenmax, UInt_t w=400, UInt_t h=400) | |
Create an editor in a dialog. | |
virtual | ~TGPasswdDialog () |
Delete log window. | |
void | CloseWindow () |
Called when closed via window manager action. | |
void | DoClose () |
Handle close button. | |
virtual TClass * | IsA () const |
void | ReturnPressed () |
Handle return. | |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Private Attributes | |
TGTransientFrame * | fDialog |
main frame of this widget | |
TGTextButton * | fOk |
Ok button. | |
TGTextEntry * | fPasswd |
Password TextEntry. | |
TGTextBuffer * | fPasswdText |
Passwd Buffer. | |
char * | fPwdBuf |
buffer where to store the passwd | |
Int_t | fPwdLenMax |
passwd buffer length | |
#include <TGPasswdDialog.h>
TGPasswdDialog::TGPasswdDialog | ( | const char * | prompt, |
char * | pwdbuf, | ||
Int_t | pwdlenmax, | ||
UInt_t | w = 400, | ||
UInt_t | h = 400 ) |
Create an editor in a dialog.
Definition at line 59 of file TGPasswdDialog.cxx.
|
virtual |
Delete log window.
Definition at line 124 of file TGPasswdDialog.cxx.
Definition at line 45 of file TGPasswdDialog.h.
void TGPasswdDialog::CloseWindow | ( | ) |
Called when closed via window manager action.
Definition at line 141 of file TGPasswdDialog.cxx.
Definition at line 45 of file TGPasswdDialog.h.
void TGPasswdDialog::DoClose | ( | ) |
Handle close button.
Definition at line 133 of file TGPasswdDialog.cxx.
Definition at line 45 of file TGPasswdDialog.h.
void TGPasswdDialog::ReturnPressed | ( | ) |
Handle return.
Definition at line 149 of file TGPasswdDialog.cxx.
|
inline |
Definition at line 45 of file TGPasswdDialog.h.
|
private |
main frame of this widget
Definition at line 29 of file TGPasswdDialog.h.
|
private |
Ok button.
Definition at line 30 of file TGPasswdDialog.h.
|
private |
Password TextEntry.
Definition at line 31 of file TGPasswdDialog.h.
|
private |
Passwd Buffer.
Definition at line 32 of file TGPasswdDialog.h.
|
private |
buffer where to store the passwd
Definition at line 27 of file TGPasswdDialog.h.
|
private |
passwd buffer length
Definition at line 28 of file TGPasswdDialog.h.