TGTabElement
class description - source file - inheritance tree
public:
TGTabElement TGTabElement(const TGWindow* p, TGString* text, UInt_t w, UInt_t h, GContext_t norm, FontStruct_t font, UInt_t options = kRaisedFrame, ULong_t back = fgDefaultFrameBackground)
TGTabElement TGTabElement(TGTabElement&)
virtual void ~TGTabElement()
TClass* Class()
virtual void DrawBorder()
virtual TGDimension GetDefaultSize() const
const char* GetString() const
const TGString* GetText() const
virtual TClass* IsA() const
void SetText(TGString* text)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(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
TGTab, TGTabElement, TGTabLayout
A tab widget contains a set of composite frames each with a little
tab with a name (like a set of folders with tabs).
The TGTab is user callable. The TGTabElement and TGTabLayout are
is a service classes of the tab widget.
Clicking on a tab will bring the associated composite frame to the
front and generate the following event:
kC_COMMAND, kCM_TAB, tab id, 0.
TGTabElement(const TGWindow *p, TGString *text, UInt_t w, UInt_t h,
GContext_t norm, FontStruct_t font,
UInt_t options, ULong_t back) :
TGFrame(p, w, h, options, back)
Create a tab element. Text is adopted by tab element.
~TGTabElement()
Delete tab element.
void DrawBorder()
Draw little tab element.
TGDimension GetDefaultSize() const
Return default size of tab element.
void SetText(TGString *text)
Set new tab text.
Inline Functions
const TGString* GetText() const
const char* GetString() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TGTabElement TGTabElement(TGTabElement&)
Author: Fons Rademakers 13/01/98
Last update: 2.23/02 02/09/99 15.54.27 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
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.