66 fDialog->Connect(
"CloseWindow()",
"TGPasswdDialog",
this,
"CloseWindow()");
78 fPasswd->Connect(
"ReturnPressed()",
"TGPasswdDialog",
this,
"ReturnPressed()");
85 fOk->Connect(
"Clicked()",
"TGPasswdDialog",
this,
"ReturnPressed()");
88 fDialog->SetWindowName(
"Password dialog");
89 fDialog->SetIconName(
"Password dialog");
106 (mw -
width) >> 1, (mh -
height) >> 1, ax, ay, wdum);
108 fDialog->SetWMPosition(ax, ay);
157 Error(
"ReturnPressed",
"passwd buffer undefined");
Handle_t Window_t
Window handle.
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
Error("WriteTObject","The current directory (%s) is not associated with a file. The object (%s) has not been written.", GetName(), objname)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void w
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
This class handles GUI labels.
This class describes layout hints used by the layout classes.
TGTextButton * fOk
Ok button.
void ReturnPressed()
Handle return.
TGTransientFrame * fDialog
main frame of this widget
char * fPwdBuf
buffer where to store the passwd
void DoClose()
Handle close button.
TGPasswdDialog(const char *prompt, char *pwdbuf, Int_t pwdlenmax, UInt_t w=400, UInt_t h=400)
Create an editor in a dialog.
TGTextEntry * fPasswd
Password TextEntry.
TGTextBuffer * fPasswdText
Passwd Buffer.
virtual ~TGPasswdDialog()
Delete log window.
void CloseWindow()
Called when closed via window manager action.
Int_t fPwdLenMax
passwd buffer length
A text buffer is used in several widgets, like TGTextEntry, TGFileDialog, etc.
Yield an action as soon as it is clicked.
A TGTextEntry is a one line text input widget.
Defines transient windows that typically are used for dialogs windows.
ROOT GUI Window base class.