12#ifndef ROOT_TGFSComboBox 
   13#define ROOT_TGFSComboBox 
   86   virtual void Update(
const char *path);
 
 
Handle_t GContext_t
Graphics context handle.
 
ULong_t Pixel_t
Pixel value.
 
ULongptr_t Handle_t
Generic resource handle.
 
Handle_t FontStruct_t
Pointer to font structure.
 
#define ClassDefOverride(name, id)
 
static void indent(ostringstream &buf, int indent_level)
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char text
 
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
 
This is a combo box that is used in the File Selection dialog box.
 
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a file system combo box as a C++ statement(s) on output stream out.
 
TGFSComboBox(const TGWindow *p=nullptr, Int_t id=-1, UInt_t options=kHorizontalFrame|kSunkenFrame|kDoubleBorder, Pixel_t back=GetWhitePixel())
Create a file system combobox showing system directories.
 
std::vector< Lbc_t > fLbc
! list of default entries
 
virtual void Update(const char *path)
Update file system combo box.
 
Encapsulate fonts used in the GUI system.
 
static Pixel_t GetWhitePixel()
Get white pixel value.
 
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 TGString * GetPath() const
 
static const TGFont * fgDefaultFont
 
static TGGC * fgDefaultGC
 
UInt_t fTWidth
width of entry text
 
void Activate(Bool_t a) override
Make entry active (highlight picture).
 
const TGPicture * GetPicture() const
 
const TGPicture * fPic
entry picture
 
Bool_t fActive
true if active
 
TGDimension GetDefaultSize() const override
Return default size of tree listbox entry.
 
FontStruct_t fFontStruct
font
 
UInt_t fTHeight
height of entry text
 
TGString * fPath
entry path
 
static const TGGC & GetDefaultGC()
Return default graphics context.
 
const TGString * GetText() const
 
GContext_t fNormGC
entry drawing context
 
~TGTreeLBEntry() override
Delete tree listbox entry.
 
TGSelectedPicture * fSelPic
selected picture
 
TGString * fText
entry description
 
void Update(TGLBEntry *e) override
Update text and picture of a listbox entry.
 
TGTreeLBEntry(const TGWindow *p=nullptr, TGString *text=nullptr, const TGPicture *pic=nullptr, Int_t id=-1, TGString *path=nullptr, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kHorizontalFrame, Pixel_t back=GetWhitePixel())
Create a tree (i.e.
 
static FontStruct_t GetDefaultFontStruct()
Return default font structure.
 
void DrawCopy(Handle_t id, Int_t x, Int_t y) override
Redraw the tree listbox entry on pixmap/window.
 
void DoRedraw() override
Redraw the tree listbox entry.
 
ROOT GUI Window base class.
 
std::string fName
root prefix name
 
Int_t fIndent
identification level
 
Lbc_t(const char *name, const char *path, const char *pixmap, Int_t indent)
 
std::string fPixmap
picture file