library: libGui #include "TGDockableFrame.h"

# TGUndockedFrame

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

## class TGUndockedFrame : public TGTransientFrame

| Inheritance Chart:
`TObject`
| <- | `TGObject`
| <- | `TGWindow`
`TQObject`
| <- | `TGFrame`
| <- | `TGCompositeFrame`
| <- | `TGMainFrame`
| <- | `TGTransientFrame`
| <- | `TGUndockedFrame` |

        public:

                          TGUndockedFrame(const TGWindow* p = 0, TGDockableFrame* dockable = 0)
                          TGUndockedFrame(const TGUndockedFrame&)
                  virtual ~TGUndockedFrame()
           static TClass* Class()
             virtual void CloseWindow()
                     void FixSize()
          virtual TClass* IsA() const
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          TGDockableFrame* fDockable  orignal dockable frame

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

TGUndockedFrame(const TGWindow *p, TGDockableFrame *dockable) : TGTransientFrame(p, dockable->GetMainFrame(), 10, 10)

     Create the undocked (transient) frame.

~TGUndockedFrame()

     Delete undocked frame. Puts back dockable frame in its original container.

void FixSize()

     Fix the size of the undocked frame so it cannot be changed via the WM.

void CloseWindow()

     Close undocked frame (called via WM close button).

### Inline Functions

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

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