85 while ((obj = next())) {
148 delete fGedEditor->GetPad()->FindObject(
"Tframe");
150 while ((obj = next())) {
199 gClient->GetColorByName(
"#ff0000", color);
257 fTip->SetText(
string);
265 Int_t labwidth = std::min(
fLabel->GetDefaultSize().fWidth,
266 canvas->
GetWidth() - 10 - hscrollw);
267 f2->SetWidth(std::max(labwidth, 80));
const Mask_t kButtonPressMask
const Mask_t kKeyPressMask
const Mask_t kLeaveWindowMask
const Mask_t kEnterWindowMask
ULong_t Pixel_t
Pixel value.
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
const char Option_t
Option string (const char).
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
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
TGCompositeFrame(const TGCompositeFrame &)=delete
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.
A horizontal 3D line is a line that typically separates a toolbar from the menubar.
This class handles GUI labels.
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()
static TGedEditor * GetFrameCreator()
Returns TGedEditor that currently creates TGedFrames.
TGCompositeFrame * fFrame
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'.
TClass * fModelClass
class corresponding to instantiated GedFrame
TGedFrame(const TGedFrame &)=delete
~TGedFrame() override
Destructor of the base GUI attribute frame.
Bool_t fInit
init flag for setting signals/slots
virtual void MakeTitle(const char *title)
Create attribute frame title.
void SetDrawOption(Option_t *option="") override
Set drawing option for object.
TList * fExtraTabs
addtional tabs in ged editor
virtual void Refresh(TObject *model)
Refresh the GUI info about the object attributes.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
Int_t fPriority
location in GedEditor
Option_t * GetDrawOption() const override
Get draw options of the selected object.
Bool_t fAvoidSignal
flag for executing slots
TGedNameFrame(const TGedNameFrame &)=delete
Bool_t HandleButton(Event_t *event) override
Handle mouse button event.
void SetModel(TObject *obj) override
Sets text for the label.
Bool_t HandleCrossing(Event_t *event) override
Handle mouse crossing event for tooltip.
~TGedNameFrame() override
Destructor.
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.
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 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.
EGEventType fType
of event (see EGEventType)