library: libGui #include "TGFSComboBox.h" |
TGTreeLBEntry
class description - source file - inheritance tree (.pdf)
protected:
virtual void DoRedraw()
public:
TGTreeLBEntry(const TGWindow* p = 0, TGString* text = 0, const TGPicture* pic = 0, Int_t id = -1, TGString* path = 0, GContext_t norm = GetDefaultGC()(), FontStruct_t font = GetDefaultFontStruct(), UInt_t options = kHorizontalFrame, Pixel_t back = GetWhitePixel())
TGTreeLBEntry(const TGTreeLBEntry&)
virtual ~TGTreeLBEntry()
virtual void Activate(Bool_t a)
static TClass* Class()
virtual void DrawCopy(Handle_t id, Int_t x, Int_t y)
static FontStruct_t GetDefaultFontStruct()
static const TGGC& GetDefaultGC() const
virtual TGDimension GetDefaultSize() const
const TGString* GetPath() const
const TGPicture* GetPicture() const
const TGString* GetText() const
virtual TClass* IsA() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual void Update(TGLBEntry* e)
protected:
TGString* fText entry description
TGString* fPath entry path
const TGPicture* fPic entry picture
TGSelectedPicture* fSelPic selected picture
UInt_t fTWidth width of entry text
UInt_t fTHeight height of entry text
Bool_t fActive true if active
GContext_t fNormGC entry drawing context
FontStruct_t fFontStruct font
static const TGFont* fgDefaultFont
static TGGC* fgDefaultGC
TGFSComboBox, TGTreeLBEntry
This is a combo box that is used in the File Selection dialog box.
It will allow the file path selection.
TGTreeLBEntry(const TGWindow *p, TGString *text,
const TGPicture *pic, Int_t id, TGString *path,
GContext_t norm, FontStruct_t font, UInt_t options,
ULong_t back) :
TGLBEntry(p, id, options, back)
Create a tree (i.e. entry can be indented) listbox entry.
The strings text and path are adopted by the entry.
~TGTreeLBEntry()
Delete tree listbox entry.
void Activate(Bool_t a)
Make entry active (highlight picture).
void DrawCopy(Handle_t id, Int_t x, Int_t y)
Redraw the tree listbox entry on pixmap/window.
void DoRedraw()
Redraw the tree listbox entry.
TGDimension GetDefaultSize() const
Return default size of tree listbox entry.
void Update(TGLBEntry *e)
Update text and picture of a listbox entry.
FontStruct_t GetDefaultFontStruct()
const TGGC& GetDefaultGC()
Inline Functions
const TGString* GetText() const
const TGPicture* GetPicture() const
const TGString* GetPath() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGTreeLBEntry TGTreeLBEntry(const TGTreeLBEntry&)
Author: Fons Rademakers 19/01/98
Last update: root/gui:$Name: $:$Id: TGFSComboBox.cxx,v 1.16 2005/09/05 07:33:37 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.