library: libGui #include "TGMdiDecorFrame.h" |
TGMdiTitleBar
class description - header file - source file - inheritance tree (.pdf)
protected:
TGMdiTitleBar(const TGWindow* p, const TGWindow* mdiwin, const char* name = "Untitled")
void AddFrames(TGMdiTitleIcon* icon, TGMdiButtons* buttons)
void LayoutButtons(UInt_t buttonmask, Bool_t isMinimized, Bool_t isMaximized)
void RemoveFrames(TGMdiTitleIcon* icon, TGMdiButtons* buttons)
public:
TGMdiTitleBar(const TGMdiTitleBar&)
virtual ~TGMdiTitleBar()
static TClass* Class()
TGMdiButtons* GetButtons() const
TGMdiTitleIcon* GetWinIcon() const
TGLabel* GetWinName() const
Int_t GetX0()
Int_t GetY0()
virtual Bool_t HandleButton(Event_t* event)
virtual Bool_t HandleDoubleClick(Event_t* event)
virtual Bool_t HandleMotion(Event_t* event)
virtual TClass* IsA() const
Bool_t IsLeftButPressed()
Bool_t IsMidButPressed()
Bool_t IsRightButPressed()
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
void SetLeftButPressed(Bool_t press = kTRUE)
void SetMidButPressed(Bool_t press = kTRUE)
void SetRightButPressed(Bool_t press = kTRUE)
void SetTitleBarColors(UInt_t fore, UInt_t back, TGFont* f)
void SetX0(Int_t x0)
void SetY0(Int_t y0)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
const TGWindow* fMdiWin owner MDI window
TGMdiButtons* fButtons MDI buttons
TGMdiTitleIcon* fWinIcon title icon
TGLabel* fWinName window name label
TGCompositeFrame* fLFrame
TGCompositeFrame* fMFrame
TGCompositeFrame* fRFrame the three parts of the title bar
TGLayoutHints* fLHint
TGLayoutHints* fLeftHint
TGLayoutHints* fMiddleHint
TGLayoutHints* fRightHint layout hints
Int_t fX0
Int_t fY0 initial position of the mouse click
Bool_t fLeftButPressed
Bool_t fRightButPressed
Bool_t fMidButPressed mouse button pressed
Author: Bertrand Bellenot 20/08/2004
Last update: root/gui:$Name: $:$Id: TGMdiDecorFrame.cxx,v 1.17 2006/05/26 15:13:01 rdm 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.