library: libGui #include "TGTab.h" |
TGTabElement
class description - source file - inheritance tree (.pdf)
public:
TGTabElement(const TGWindow* p = 0, TGString* text = 0, UInt_t w = 1, UInt_t h = 1, GContext_t norm = TGTab::GetDefaultGC()(), FontStruct_t font = TGTab::GetDefaultFontStruct(), UInt_t options = kRaisedFrame, Pixel_t back = GetDefaultFrameBackground())
TGTabElement(const TGTabElement&)
virtual ~TGTabElement()
static TClass* Class()
virtual void DrawBorder()
virtual TGDimension GetDefaultSize() const
const char* GetString() const
const TGString* GetText() const
virtual Bool_t HandleButton(Event_t* event)
virtual TClass* IsA() const
Bool_t IsEnabled() const
virtual void SetEnabled(Bool_t on = kTRUE)
void SetText(TGString* text)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
TGString* fText text on tab
GContext_t fNormGC graphics context for drawing tab
FontStruct_t fFontStruct font used for tab
UInt_t fTWidth width of tab text
UInt_t fTHeight height of tab text
Bool_t fEnabled enabled or disabled
void DrawBorder()
Draw little tab element.
Bool_t HandleButton(Event_t *event)
Handle button event in the tab widget. Basically we only handle
button events in the small tabs.
TGDimension GetDefaultSize() const
Return default size of tab element.
void SetText(TGString *text)
Set new tab text.
Inline Functions
void ~TGTabElement()
TGTabElement TGTabElement(const TGWindow* p = 0, TGString* text = 0, UInt_t w = 1, UInt_t h = 1, GContext_t norm = TGTab::GetDefaultGC()(), FontStruct_t font = TGTab::GetDefaultFontStruct(), UInt_t options = kRaisedFrame, Pixel_t back = GetDefaultFrameBackground())
const TGString* GetText() const
const char* GetString() const
void SetEnabled(Bool_t on = kTRUE)
Bool_t IsEnabled() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGTabElement TGTabElement(const TGTabElement&)
Author: Fons Rademakers 13/01/98
Last update: root/gui:$Name: $:$Id: TGTab.cxx,v 1.20 2005/04/19 09:10:59 brun 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.