Handle_t GContext_t
Graphics context handle.
 
ULong_t Pixel_t
Pixel value.
 
Handle_t FontStruct_t
Pointer to font structure.
 
#define ClassDefOverride(name, id)
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
 
Option_t Option_t TPoint TPoint const char text
 
The base class for composite widgets (menu bars, list boxes, etc.).
 
Encapsulate fonts used in the GUI system.
 
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
 
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
 
Encapsulate a graphics context used in the low level graphics.
 
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
 
TGString wraps a TString and adds some graphics routines like drawing, size of string on screen depen...
 
const char * GetString() const
 
Service classes of the tab widget.
 
Bool_t IsCloseShown() const
 
TGDimension GetDefaultSize() const override
Return default size of tab element.
 
Bool_t fActive
true if active (in front)
 
Bool_t fShowClose
show or hide close icon
 
TGString * fText
text on tab
 
void SetText(TGString *text)
Set new tab text.
 
Bool_t HandleButton(Event_t *event) override
Handle button event in the tab widget.
 
GContext_t fNormGC
graphics context for drawing tab
 
virtual void SetEnabled(Bool_t on=kTRUE)
 
~TGTabElement() override
Delete tab element.
 
Bool_t fEnabled
enabled or disabled
 
void SetEditDisabled(UInt_t) override
 
Bool_t IsActive() const override
 
const char * GetString() const
 
UInt_t fTHeight
height of tab text
 
FontStruct_t fFontStruct
font used for tab
 
const TGPicture * fClosePic
"close tab" icon
 
UInt_t fTWidth
width of tab text
 
const TGString * GetText() const
 
TGTabElement(const TGTabElement &)=delete
 
virtual void SetActive(Bool_t on=kTRUE)
 
const TGPicture * fClosePicD
"close tab" icon (disabled)
 
virtual void ShowClose(Bool_t on=kTRUE)
Show/hide close icon on the tab element, then apply layout to compute correct elements size.
 
TGTabElement & operator=(const TGTabElement &)=delete
 
void DrawBorder() override
Draw little tab element.
 
Service classes of the tab widget.
 
TGTabLayout & operator=(const TGTabLayout &)=delete
 
void Layout() override
Layout the tab widget.
 
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a primitive as a C++ statement(s) on output stream "out".
 
TGTabLayout(const TGTabLayout &)=delete
 
TGDimension GetDefaultSize() const override
Get default size of tab widget.
 
A tab widget contains a set of composite frames each with a little tab with a name (like a set of fol...
 
static FontStruct_t GetDefaultFontStruct()
Return default font structure in use.
 
TGCompositeFrame * GetCurrentContainer() const
 
virtual void NewTab(const char *text="tab")
Create new tab. Used in context menu.
 
TGCompositeFrame * GetContainer() const
 
TGCompositeFrame * fContainer
main container
 
virtual void SetEnabled(Int_t tabIndex, Bool_t on=kTRUE)
Enable or disable tab.
 
virtual void SetText(const char *text="tab")
Set text to current tab.
 
FontStruct_t fFontStruct
font
 
static const TGGC & GetDefaultGC()
Return default graphics context in use.
 
virtual void Removed(Int_t id)
 
TGTabElement * GetTabTab(Int_t tabIndex) const
Return the tab element of tab with index tabIndex.
 
TGTab & operator=(const TGTab &)=delete
 
Int_t fCurrent
index of current tab
 
~TGTab() override
Delete tab widget.
 
GContext_t fNormGC
drawing context
 
Int_t GetNumberOfTabs() const
Return number of tabs.
 
static const TGGC * fgDefaultGC
 
Bool_t fScrolling
true if tab scrolling enabled
 
virtual Bool_t SetTab(Int_t tabIndex, Bool_t emit=kTRUE)
Brings the composite frame with the index tabIndex to the front and generate the following event if t...
 
virtual void SetScrollingEnabled(Bool_t on=kTRUE)
Enable or disable tab scrolling.
 
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a tab widget as a C++ statement(s) on output stream out.
 
TList * fRemoved
list of removed tabs
 
virtual void RemoveTab(Int_t tabIndex=-1, Bool_t storeRemoved=kTRUE)
Remove container and tab of tab with index tabIndex.
 
virtual void CloseTab(Int_t id)
 
virtual void Selected(Int_t id)
 
void ChangeTab(Int_t tabIndex, Bool_t emit=kTRUE)
Make tabIdx the current tab.
 
void DrawBorder() override
Draw frame border.
 
UInt_t GetTabHeight() const
 
TGCompositeFrame * GetTabContainer(Int_t tabIndex) const
Return container of tab with index tabIndex.
 
virtual TGCompositeFrame * AddTab(TGString *text)
Add a tab to the tab widget.
 
Bool_t IsScrollingEnabled() const
Returns true if tab scrolling is enabled.
 
TGTab(const TGTab &)=delete
 
TGTabElement * GetCurrentTab() const
 
TGLayoutManager * GetLayoutManager() const override
Return layout manager.
 
static const TGFont * fgDefaultFont
 
ROOT GUI Window base class.
 
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.