library: libGui #include "TGDockableFrame.h"

# TGDockHideButton

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

## class TGDockHideButton : public TGDockButton

| Inheritance Chart:

`TObject`

<-

`TGObject`

<-

`TGWindow`

`TQObject`

<-

`TGFrame`

`TGWidget`

<-

`TGButton`

<-

`TGDockButton`

<-

`TGDockHideButton`

        protected:

          virtual void DoRedraw()

        public:

                           TGDockHideButton(const TGCompositeFrame* p = 0)
                           TGDockHideButton(const TGDockHideButton&)
                           ~TGDockHideButton()
            static TClass* Class()
           virtual TClass* IsA() const
                      void SetAspectRatio(Int_t a)
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          Int_t fAspectRatio  triangle orientation

## Class Description

     A TGDockableFrame is a frame with handles that allow it to be
     undocked (i.e. put in a transient frame of its own) and to be docked
     again or hidden and shown again. It uses the TGDockButton, which is
     a button with two vertical bars (||) and TGDockHideButton, which is
     a button with a small triangle. The TGUndockedFrame is a transient
     frame that on closure will put the frame back in the dock.

TGDockHideButton(const TGCompositeFrame *p) : TGDockButton (p, 2)

     Create a dock hide button (i.e. button with small triangle).

void DoRedraw()

     Draw dock hide button.

### Inline Functions

                        void ~TGDockHideButton()
                        void SetAspectRatio(Int_t a)
                     TClass* Class()
                     TClass* IsA() const
                        void ShowMembers(TMemberInspector& insp, char* parent)
                        void Streamer(TBuffer& b)
                        void StreamerNVirtual(TBuffer& b)
            TGDockHideButton TGDockHideButton(const TGDockHideButton&)

Author: Abdelhalim Ssadik 07/07/04
Last update: root/gui:$Name: $:$Id: TGDockableFrame.cxx,v 1.9 2005/06/09 17:44:40 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *