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();
187 height =
b->GetDefaultHeight();
195 height =
b->GetDefaultHeight();
203 height =
b->GetDefaultHeight();
211 height =
b->GetDefaultHeight();
268 while (
TObject* obj = next() ) {
273 }
else if ( setNext ) {
282 while (
TObject* obj = next() ) {
299 gVirtualX->LookupString(event, tmp,
sizeof(tmp), keysym);
305 while (
TObject* obj = next() ) {
const Mask_t kKeyPressMask
const Mask_t kLeaveWindowMask
const Mask_t kEnterWindowMask
include TDocParser_001 C image html pict1_TDocParser_001 png width
TGTextEntry * gBlinkingEntry
void WaitFor(TGWindow *w)
Wait for window to be destroyed.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual UInt_t GetDefaultWidth() const
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual UInt_t GetDefaultHeight() const
virtual void SetEditDisabled(UInt_t on=1)
Set edit disable flag for this frame and subframes.
void AddInput(UInt_t emask)
Add events specified in the emask to the events the frame should handle.
virtual UInt_t GetDefaultHeight() const
virtual void SendMessage(const TGWindow *w, Long_t msg, Long_t parm1, Long_t parm2)
Send message (i.e.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
void SetIconName(const char *name)
Set window icon name. This is typically done via the window manager.
virtual Bool_t HandleKey(Event_t *event)
Handle keyboard events.
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?).
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 SetWindowName(const char *name=0)
Set window name. This is typically done via the window manager.
virtual void SetFocus()
Set focus to this text entry.
virtual void TabPressed()
This signal is emitted when the <TAB> key is pressed.
void End(Bool_t mark=kFALSE)
Moves the text cursor to the right end of the line.
virtual void CenterOnParent(Bool_t croot=kTRUE, EPlacement pos=kCenter)
Position transient frame centered relative to the parent frame.
virtual void Add(TObject *obj)
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
Collectable string class.
const TString & GetString() const
Mother of all ROOT objects.
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 Bool_t HandleKey(Event_t *event)
The key press event handler in this dialog.
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.
virtual void Add(const char *argname, const char *value, const char *type)
Add a label and text input field.
virtual const char * GetParameters()
Get parameter string (called by contextmenu after OK or Apply has been selected).
void TabPressed()
Handle Tab keyboard navigation in this dialog.
virtual void Popup()
Popup dialog.
virtual ~TRootDialog()
Delete the dialog.
virtual void CloseWindow()
Called when closed via window manager action.
void Clear()
Clear string without changing its capacity.
const char * Data() const
TString & ReplaceAll(const TString &s1, const TString &s2)
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
int main(int argc, char **argv)
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)