87 while ((obj = next())) {
152 while ((obj = next())) {
154 next.SetOption(option);
201 gClient->GetColorByName(
"#ff0000", color);
268 canvas->
GetWidth() - 10 - hscrollw);
TGedNameFrame(const TGedNameFrame &)
TList * GetListOfBases()
Return list containing the TBaseClass(es) of a class.
virtual TGCompositeFrame * GetEditorTab(const char *name)
Find or create tab with name.
virtual TVirtualPad * GetPad() const
void AddInput(UInt_t emask)
Add events specified in the emask to the events the frame should handle.
virtual ~TGedNameFrame()
Destructor.
virtual Option_t * GetDrawOption() const
Get draw options of the selected object.
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
TGedFrame(const TGedFrame &)
const Mask_t kLeaveWindowMask
void ActivateEditors(TList *bcl, Bool_t recurse)
Searches GedFrames for classes in the given list.
virtual void SetModel(TObject *obj)
Sets text for the label.
Short_t Min(Short_t a, Short_t b)
static TGedEditor * GetFrameCreator()
Returns TGedEditor that currently creates TGedFrames.
virtual Bool_t HandleButton(Event_t *event)
Handle mouse button event.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual TObject * GetModel() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString...
virtual void SetText(TGString *newText)
Set new text in label.
virtual Bool_t HandleCrossing(Event_t *event)
Handle mouse crossing event for tooltip.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
TGCompositeFrame(const TGCompositeFrame &)
virtual TGVerticalFrame * CreateEditorTabSubFrame(const char *name)
Create a vertical frame to be used by 'owner' in extra tab 'name'.
TGCanvas * GetTGCanvas() const
const Mask_t kButtonPressMask
const Mask_t kKeyPressMask
virtual ~TGedFrame()
Destructor of the base GUI attribute frame.
virtual void Update(TGedFrame *frame=0)
Virtual method that is called on any change in the dependent frames.
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
virtual TObject * Remove(TObject *obj)
Remove object from the list.
virtual void Refresh(TObject *model)
Refresh the GUI info about the object attributes.
The ROOT global object gROOT contains a list of all defined classes.
virtual TList * GetListOfPrimitives() const =0
TGCompositeFrame * fFrame
const Mask_t kEnterWindowMask
virtual void Modified(Bool_t flag=1)=0
virtual void SetWidth(UInt_t w)
virtual Bool_t IsEmpty() const
virtual void SetDrawOption(Option_t *option="")
Set drawing option for object.
virtual void SetCleanup(Int_t mode=kLocalCleanup)
Turn on automatic cleanup of child frames in dtor.
virtual void SetModel(TObject *obj)=0
virtual Bool_t IsMapped()
Returns kTRUE if window is mapped on screen, kFALSE otherwise.
virtual Option_t * GetOption() const
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Mother of all ROOT objects.
virtual const char * GetTitle() const
Returns title of object.
virtual void Add(TObject *obj)
virtual void AddExtraTab(TGedSubFrame *sf)
Adds tab container to list of extra tabs.
Short_t Max(Short_t a, Short_t b)
const TGWindow * GetDefaultRoot() const
Returns the root (i.e.
virtual const char * GetName() const
Returns name of object.
virtual TGDimension GetDefaultSize() const
Return default size.
virtual void MakeTitle(const char *title)
Create attribute frame title.
TGVScrollBar * GetVScrollbar() const
virtual void ActivateBaseClassEditors(TClass *cl)
Provide list of editors for base-classes.