library: libGui
#include "TGDockableFrame.h"

TGDockButton


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

class TGDockButton : public TGButton

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
TGWidget
<-
TGButton
<-
TGDockButton
<-
TGDockHideButton

    protected:
virtual void DoRedraw() virtual void DrawBorder() public:
TGDockButton(const TGCompositeFrame* p = 0, Int_t id = 1) TGDockButton(const TGDockButton&) virtual ~TGDockButton() static TClass* Class() virtual Bool_t HandleCrossing(Event_t* event) virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Bool_t fMouseOn true when mouse on button ULong_t fNormBg normal background color ULong_t fHiBg highlighted background color

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.           
                                                                      


TGDockButton(const TGCompositeFrame *p, int id) : TGButton (p, id, GetDefaultGC()(), kChildFrame)
 Create a dock button (i.e. button with two vertical bars).

~TGDockButton()
 Delete dock button.

Bool_t HandleCrossing(Event_t *event)
 Handle dock button crossing events.

void DrawBorder()
 Draw borders of dock button.

void DoRedraw()
 Draw the dock button, i.e. two vertical lines.



Inline Functions


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


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


ROOT page - Class index - Class Hierarchy - 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.