86 while ((obj = next())) {
151 while ((obj = next())) {
200 gClient->GetColorByName(
"#ff0000", color);
267 canvas->
GetWidth() - 10 - hscrollw);
const Mask_t kButtonPressMask
const Mask_t kKeyPressMask
const Mask_t kLeaveWindowMask
const Mask_t kEnterWindowMask
ULong_t Pixel_t
Pixel value.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
TClass instances represent classes, structs and namespaces in the ROOT type system.
TList * GetListOfBases()
Return list containing the TBaseClass(es) of a class.
virtual Bool_t IsEmpty() const
A frame containing two scrollbars (a horizontal and a vertical) and a viewport.
TGVScrollBar * GetVScrollbar() const
const TGWindow * GetDefaultRoot() const
Returns the root (i.e.
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
void SetCleanup(Int_t mode=kLocalCleanup) override
Turn on automatic cleanup of child frames in dtor.
void AddInput(UInt_t emask)
Add events specified in the emask to the events the frame should handle.
virtual void SetWidth(UInt_t w)
A horizontal 3D line is a line that typically separates a toolbar from the menubar.
This class handles GUI labels.
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
virtual void SetText(TGString *newText)
Set new text in label.
TGDimension GetDefaultSize() const override
Return default size.
This class describes layout hints used by the layout classes.
TGClient * fClient
Connection to display server.
TGString wraps a TString and adds some graphics routines like drawing, size of string on screen depen...
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.
virtual Bool_t IsMapped()
Returns kTRUE if window is mapped on screen, kFALSE otherwise.
TString fName
name of the window used in SavePrimitive()
virtual TGCompositeFrame * GetEditorTab(const char *name)
Find or create tab with name.
TGCanvas * GetTGCanvas() const
static TGedEditor * GetFrameCreator()
Returns TGedEditor that currently creates TGedFrames.
void ActivateEditors(TList *bcl, Bool_t recurse)
Searches GedFrames for classes in the given list.
virtual void Update(TGedFrame *frame=nullptr)
Virtual method that is called on any change in the dependent frames.
virtual TVirtualPad * GetPad() const
virtual TObject * GetModel() const
TGCompositeFrame * fFrame
Base frame for implementing GUI - a service class.
virtual Option_t * GetDrawOption() const
Get draw options of the selected object.
virtual void AddExtraTab(TGedSubFrame *sf)
Adds tab container to list of extra tabs.
virtual void ActivateBaseClassEditors(TClass *cl)
Provide list of editors for base-classes.
virtual void SetModel(TObject *obj)=0
TGedEditor * fGedEditor
manager of this frame
virtual TGVerticalFrame * CreateEditorTabSubFrame(const char *name)
Create a vertical frame to be used by 'owner' in extra tab 'name'.
virtual void SetDrawOption(Option_t *option="")
Set drawing option for object.
TGedFrame(const TGedFrame &)=delete
virtual void MakeTitle(const char *title)
Create attribute frame title.
TList * fExtraTabs
addtional tabs in ged editor
virtual void Refresh(TObject *model)
Refresh the GUI info about the object attributes.
virtual ~TGedFrame()
Destructor of the base GUI attribute frame.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
Int_t fPriority
location in GedEditor
virtual Bool_t HandleCrossing(Event_t *event)
Handle mouse crossing event for tooltip.
TGedNameFrame(const TGedNameFrame &)=delete
virtual ~TGedNameFrame()
Destructor.
virtual Bool_t HandleButton(Event_t *event)
Handle mouse button event.
virtual void SetModel(TObject *obj)
Sets text for the label.
Option_t * GetOption() const override
Returns the object option stored in the list.
void SetOption(Option_t *option)
Sets the object option stored in the list.
void Add(TObject *obj) override
TObject * Remove(TObject *obj) override
Remove object from the list.
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
virtual const char * GetTitle() const
Returns title of object.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
virtual void Modified(Bool_t flag=1)=0
virtual TList * GetListOfPrimitives() const =0
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.
Short_t Min(Short_t a, Short_t b)
Returns the smallest of a and b.