library: libGui #include "TGTab.h"

# TGTabLayout

class description - source file - inheritance tree (.pdf)

## class TGTabLayout : public TGLayoutManager

| Inheritance Chart:

`TObject`

<-

`TGLayoutManager`

<-

`TGTabLayout`

        public:

                              TGTabLayout(TGTab* main)
                              TGTabLayout(const TGTabLayout&)
                              ~TGTabLayout()
               static TClass* Class()
          virtual TGDimension GetDefaultSize() const
              virtual TClass* IsA() const
                 virtual void Layout()
                 TGTabLayout& operator=(const TGTabLayout&)
                 virtual void SavePrimitive(ofstream& out, Option_t* option)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          TGTab* fMain  container frame
          TList* fList  list of frames to arrange

## Class Description

     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
     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.

TGTabLayout(TGTab *main)

     Create a tab layout manager.

void Layout()

     Layout the tab widget.

TGDimension GetDefaultSize() const

     Get default size of tab widget.

void SavePrimitive(ofstream &out, Option_t *)

### Inline Functions

                    void ~TGTabLayout()
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
             TGTabLayout TGTabLayout(const TGTabLayout&)
            TGTabLayout& operator=(const TGTabLayout&)

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. *