TGTreeLBEntry


class description - source file - inheritance tree

class TGTreeLBEntry : public TGLBEntry


    protected:
virtual void DoRedraw() public:
TGTreeLBEntry TGTreeLBEntry(const TGWindow* p, TGString* text, const TGPicture* pic, Int_t id, TGString* path = 0, GContext_t norm = GetDefaultGC()(), FontStruct_t font = GetDefaultFontStruct(), UInt_t options = kHorizontalFrame, ULong_t back = GetWhitePixel()) TGTreeLBEntry TGTreeLBEntry(const TGTreeLBEntry&) virtual void ~TGTreeLBEntry() virtual void Activate(Bool_t a) static TClass* Class() 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)

Data Members


    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 ULong_t fgSelPixel static FontStruct_t fgDefaultFontStruct static TGGC fgDefaultGC

Class Description

                                                                      
 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 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.7 2001/11/28 16:05:41 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.