TGGroupFrame


class description - source file - inheritance tree

class TGGroupFrame : public TGCompositeFrame

    private:
protected:
virtual void DoRedraw() public:
TGGroupFrame TGGroupFrame(const TGWindow* p, TGString* title, UInt_t options = kVerticalFrame, GContext_t norm = GetDefaultGC()(), FontStruct_t font = GetDefaultFontStruct(), ULong_t back = GetDefaultFrameBackground()) TGGroupFrame TGGroupFrame(const TGWindow* p, const char* title, UInt_t options = kVerticalFrame, GContext_t norm = GetDefaultGC()(), FontStruct_t font = GetDefaultFontStruct(), ULong_t back = GetDefaultFrameBackground()) TGGroupFrame TGGroupFrame(TGGroupFrame&) virtual void ~TGGroupFrame() static TClass* Class() virtual void DrawBorder() static FontStruct_t GetDefaultFontStruct() static const TGGC& GetDefaultGC() const virtual TClass* IsA() const virtual void SetTitle(TGString* title) virtual void SetTitle(const char* title) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
protected:
TGString* fText FontStruct_t fFontStruct GContext_t fNormGC static FontStruct_t fgDefaultFontStruct static TGGC fgDefaultGC public:


See also

TGButtonGroup

Class Description

                                                                      
 TGFrame, TGCompositeFrame, TGVerticalFrame, TGHorizontalFrame,       
 TGMainFrame, TGTransientFrame and TGGroupFrame                       
                                                                      
 The frame classes describe the different "dressed" GUI windows.      
                                                                      
 The TGFrame class is a subclasses of TGWindow, and is used as base   
 class for some simple widgets (buttons, labels, etc.).               
 It provides:                                                         
  - position & dimension fields                                       
  - an 'options' attribute (see constant above)                       
  - a generic event handler                                           
  - a generic layout mechanism                                        
  - a generic border                                                  
                                                                      
 The TGCompositeFrame class is the base class for composite widgets   
 (menu bars, list boxes, etc.).                                       
 It provides:                                                         
  - a layout manager                                                  
  - a frame container (TList *)                                       
                                                                      
 The TGVerticalFrame and TGHorizontalFrame are composite frame that   
 layout their cildren in vertical or horizontal way.                  
                                                                      
 The TGMainFrame class defines top level windows that interact with   
 the system Window Manager.                                           
                                                                      
 The TGTransientFrame class defines transient windows that typically  
 are used for dialogs windows.                                        
                                                                      
 The TGGroupFrame is a composite frame with a border and a title.     
 It is typically used to group a number of logically related widgets  
 visually together.                                                   
                                                                      

/*

*/



TGGroupFrame(const TGWindow *p, TGString *title, UInt_t options, GContext_t norm, FontStruct_t font, ULong_t back) : TGCompositeFrame(p, 1, 1, options, back)
 Create a group frame. The title will be adopted and deleted by the
 group frame.

TGGroupFrame(const TGWindow *p, const char *title, UInt_t options, GContext_t norm, FontStruct_t font, ULong_t back) : TGCompositeFrame(p, 1, 1, options, back)
 Create a group frame.

~TGGroupFrame()
 Delete a group frame.

void DoRedraw()
 Redraw the group frame. Need special DoRedraw() since we need to
 redraw with fBorderWidth=0.

void DrawBorder()
 Draw border of around the group frame.

void SetTitle(TGString *title)
 Set or change title of the group frame. Titlte TGString is adopted
 by the TGGroupFrame.

void SetTitle(const char *title)
 Set or change title of the group frame.

FontStruct_t GetDefaultFontStruct()

const TGGC& GetDefaultGC()



Inline Functions


             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
        TGGroupFrame TGGroupFrame(TGGroupFrame&)


Author: Fons Rademakers 03/01/98
Last update: root/gui:$Name: $:$Id: TGFrame.cxx,v 1.14 2001/06/27 16:13:22 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.