58 SetEditDisabled(kEditDisable);
86 t->
Connect(
"TabPressed()",
"TRootDialog",
this,
"TabPressed()");
120 while ((obj =
next())) {
128 const char *data = 0;
136 if (selfobjpos == nparam-1) {
137 if (params.
Length()) params +=
",";
143 if (params.
Length()) params +=
",";
145 if (!strncmp(type,
"char*", 5))
156 if (selfobjpos == nparam) {
157 if (params.
Length()) params +=
",";
163 return params.
Data();
173 UInt_t nb = 0, width = 0, height = 0;
223 hf->
Resize((width + 20) * nb, height);
271 if ( entry == gBlinkingEntry ) {
273 }
else if ( setNext ) {
299 gVirtualX->LookupString(event, tmp,
sizeof(tmp), keysym);
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
virtual void Add(const char *argname, const char *value, const char *type)
Add a label and text input field.
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
Collectable string class.
virtual void TabPressed()
This signal is emitted when the <TAB> key is pressed.
virtual void CenterOnParent(Bool_t croot=kTRUE, EPlacement pos=kCenter)
Position transient frame centered relative to the parent frame.
virtual Bool_t HandleKey(Event_t *event)
Handle keyboard events.
void TabPressed()
Handle Tab keyboard navigation in this dialog.
TString & ReplaceAll(const TString &s1, const TString &s2)
virtual ~TRootDialog()
Delete the dialog.
const Mask_t kLeaveWindowMask
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString...
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.
TLine l1(2.5, 4.5, 15.5, 4.5)
void Clear()
Clear string without changing its capacity.
virtual void SetFocus()
Set focus to this text entry.
void AddText(Int_t pos, const char *text)
virtual void SendMessage(const TGWindow *w, Long_t msg, Long_t parm1, Long_t parm2)
Send message (i.e.
void End(Bool_t mark=kFALSE)
Moves the text cursor to the right end of the line.
virtual UInt_t GetDefaultWidth() const
TGTextEntry * gBlinkingEntry
void WaitFor(TGWindow *w)
Wait for window to be destroyed.
virtual Bool_t HandleKey(Event_t *event)
The key press event handler in this dialog.
const Mask_t kKeyPressMask
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...
TString GetString() const
virtual UInt_t GetDefaultWidth() const
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
virtual const char * GetParameters()
Get parameter string (called by contextmenu after OK or Apply has been selected). ...
virtual UInt_t GetDefaultHeight() const
virtual void CloseWindow()
Called when closed via window manager action.
const Mask_t kEnterWindowMask
virtual void Popup()
Popup dialog.
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.
Mother of all ROOT objects.
virtual UInt_t GetDefaultHeight() const
virtual void Add(TObject *obj)
int GetBuffer(PyObject *pyobject, char tc, int size, void *&buf, Bool_t check=kTRUE)
Retrieve a linear buffer pointer from the given pyobject.
Short_t Max(Short_t a, Short_t b)
void SetWMSize(UInt_t w, UInt_t h)
Give the window manager a window size hint.
ClassImp(TRootDialog) TRootDialog
Create a method argument prompt dialog.
void SetMWMHints(UInt_t value, UInt_t funcs, UInt_t input)
Set decoration style for MWM-compatible wm (mwm, ncdwm, fvwm?).