TGLayoutHints


class description - source file - inheritance tree

class TGLayoutHints : public TObject


    protected:
public:
TGLayoutHints TGLayoutHints(ULong_t hints = kLHintsNormal, UInt_t padleft = 0, UInt_t padright = 0, UInt_t padtop = 0, UInt_t padbottom = 0) TGLayoutHints TGLayoutHints(TGLayoutHints&) void ~TGLayoutHints() static TClass* Class() ULong_t GetLayoutHints() const UInt_t GetPadBottom() const UInt_t GetPadLeft() const UInt_t GetPadRight() const UInt_t GetPadTop() const virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

protected:
ULong_t fLayoutHints layout hints (combination of ELayoutHints) UInt_t fPadtop amount of top padding UInt_t fPadbottom amount of bottom padding UInt_t fPadleft amount of left padding UInt_t fPadright amount of right padding public:

Class Description

                                                                      
 A number of different layout classes (TGLayoutManager,               
 TGVerticalLayout, TGHorizontalLayout, TGLayoutHints, etc.).          
                                                                      
                                                                      
 Concerning the TGMatrixLayout class:                                 
                                                                      
 It arranges frames in a matrix-like way.                             
 This manager provides :                                              
 - a column number (0 means unlimited)                                
 - a row number (0 means unlimited)                                   
 - horizontal & vertical separators                                   
                                                                      
 Notes : If both column and row are fixed values, any remaining       
         frames outside the count won't be managed.                   
         Unlimited rows means the frame can expand downward           
         (the default behaviour in most UI).                          
         Both unlimited rows and columns is undefined (read: will     
         crash the algorithm ;-).                                     
         With fixed dimensions, frames are always arranged in rows.   
         That is: 1st frame is at position (0,0), next one is at      
         row(0), column(1) and so on...                               
         When specifying one dimension as unlimited (i.e. row=0 or    
         column=0) the frames are arranged according to the direction 
         of the fixed dimension. This layout manager does not make    
         use of TGLayoutHints.                                        
                                                                      




Inline Functions


        TGLayoutHints TGLayoutHints(ULong_t hints = kLHintsNormal, UInt_t padleft = 0, UInt_t padright = 0, UInt_t padtop = 0, UInt_t padbottom = 0)
              ULong_t GetLayoutHints() const
               UInt_t GetPadTop() const
               UInt_t GetPadBottom() const
               UInt_t GetPadLeft() const
               UInt_t GetPadRight() const
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
        TGLayoutHints TGLayoutHints(TGLayoutHints&)
                 void ~TGLayoutHints()


Author: Fons Rademakers 02/01/98
Last update: root/gui:$Name: $:$Id: TGLayout.cxx,v 1.2 2000/10/20 12:18:27 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.