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);
268 while (
TObject* obj = next() ) {
271 if ( entry == gBlinkingEntry ) {
273 }
else if ( setNext ) {
282 while (
TObject* obj = next() ) {
299 gVirtualX->LookupString(event, tmp,
sizeof(tmp), keysym);
305 while (
TObject* obj = next() ) {
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.
Collectable string class.
virtual void TabPressed()
This signal is emitted when the <TAB> key is pressed.
void AddInput(UInt_t emask)
Add events specified in the emask to the events the frame should handle.
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 SetWindowName(const char *name=0)
Set window name. This is typically done via the window manager.
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
virtual UInt_t GetDefaultHeight() const
void SetIconName(const char *name)
Set window icon name. This is typically done via the window manager.
TRootDialog(TRootContextMenu *cmenu=0, const TGWindow *main=0, const char *title="ROOT Dialog", Bool_t okB=kTRUE, Bool_t cancelB=kTRUE, Bool_t applyB=kFALSE, Bool_t helpB=kTRUE)
Create a method argument prompt dialog.
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.
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)
int main(int argc, char **argv)
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.
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...
const TString & GetString() const
virtual UInt_t GetDefaultWidth() const
virtual const char * GetParameters()
Get parameter string (called by contextmenu after OK or Apply has been selected). ...
virtual UInt_t GetDefaultWidth() const
virtual void CloseWindow()
Called when closed via window manager action.
const Mask_t kEnterWindowMask
virtual UInt_t GetDefaultHeight() const
virtual void SetEditDisabled(UInt_t on=1)
Set edit disable flag for this frame and subframes.
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 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)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
void SetWMSize(UInt_t w, UInt_t h)
Give the window manager a window size hint.
void SetMWMHints(UInt_t value, UInt_t funcs, UInt_t input)
Set decoration style for MWM-compatible wm (mwm, ncdwm, fvwm?).
const char * Data() const