library: libGui #include "TGTableLayout.h"

# TGTableLayoutHints

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

## class TGTableLayoutHints : public TGLayoutHints

| Inheritance Chart:

`TObject`

<-

`TGLayoutHints`

<-

`TGTableLayoutHints`

        public:

                              TGTableLayoutHints(UInt_t attach_left, UInt_t attach_right, UInt_t attach_top, UInt_t attach_bottom, ULong_t hints = kLHintsNormal, UInt_t padleft = 0, UInt_t padright = 0, UInt_t padtop = 0, UInt_t padbottom = 0)
                              TGTableLayoutHints(const TGTableLayoutHints&)
                      virtual ~TGTableLayoutHints()
               static TClass* Class()
                       UInt_t GetAttachBottom() const
                       UInt_t GetAttachLeft() const
                       UInt_t GetAttachRight() const
                       UInt_t GetAttachTop() const
              virtual TClass* IsA() const
          TGTableLayoutHints& operator=(const TGTableLayoutHints&)
                 virtual void SavePrimitive(ofstream& out, Option_t*)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          UInt_t fAttachLeft    Column/row division number on which
          UInt_t fAttachRight   to attach the frame.  Starts at 0
          UInt_t fAttachTop     and goes to # columns / # rows
          UInt_t fAttachBottom  respectively

## Class Description

     TGTableLayout

     A LayoutManager which places child frames in a table. This uses
     TGTableLayoutHints (not TGLayoutHints). See TGTableLayoutHints
     for how to use these. This manager works like TGMatrixLayout with
     the addition that:
      - Child frames can span more than one column/row.
      - Child frames can resize with the frame.
      - Column and row sizes are not fixed nor (optionally) homogeneous.
      - The number of columns and rows must be fully specified.

void SavePrimitive(ofstream &out, Option_t *)

### Inline Functions

                           void ~TGTableLayoutHints()
             TGTableLayoutHints TGTableLayoutHints(UInt_t attach_left, UInt_t attach_right, UInt_t attach_top, UInt_t attach_bottom, ULong_t hints = kLHintsNormal, UInt_t padleft = 0, UInt_t padright = 0, UInt_t padtop = 0, UInt_t padbottom = 0)
                         UInt_t GetAttachLeft() const
                         UInt_t GetAttachRight() const
                         UInt_t GetAttachTop() const
                         UInt_t GetAttachBottom() const
                        TClass* Class()
                        TClass* IsA() const
                           void ShowMembers(TMemberInspector& insp, char* parent)
                           void Streamer(TBuffer& b)
                           void StreamerNVirtual(TBuffer& b)
             TGTableLayoutHints TGTableLayoutHints(const TGTableLayoutHints&)
            TGTableLayoutHints& operator=(const TGTableLayoutHints&)

Author: Brett Viren 04/15/2001
Last update: root/gui:$Name: $:$Id: TGTableLayout.cxx,v 1.7 2003/11/12 19:34:59 rdm Exp $
Copyright (C) 2001, Brett Viren *