library: libGui #include "TGMdiDecorFrame.h" |
TGMdiDecorFrame
class description - header file - source file - inheritance tree (.pdf)
public:
TGMdiDecorFrame(TGMdiMainFrame* main, TGMdiFrame* frame, Int_t w, Int_t h, const TGGC* boxGC, UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground())
TGMdiDecorFrame(const TGMdiDecorFrame&)
virtual ~TGMdiDecorFrame()
static TClass* Class()
virtual Int_t CloseWindow()
TGMdiHorizontalWinResizer* GetLeftVR() const
TGMdiVerticalWinResizer* GetLowerHR() const
TGMdiCornerWinResizer* GetLowerLeftCR() const
TGMdiCornerWinResizer* GetLowerRightCR() const
ULong_t GetMdiButtons() const
TGMdiFrame* GetMdiFrame() const
Int_t GetMinimizedX() const
Int_t GetMinimizedY() const
Bool_t GetMinUserPlacement() const
Int_t GetPreResizeHeight() const
Int_t GetPreResizeWidth() const
Int_t GetPreResizeX() const
Int_t GetPreResizeY() const
TGMdiHorizontalWinResizer* GetRightVR() const
TGMdiTitleBar* GetTitleBar() const
TGMdiVerticalWinResizer* GetUpperHR() const
TGMdiCornerWinResizer* GetUpperLeftCR() const
TGMdiCornerWinResizer* GetUpperRightCR() const
const TGPicture* GetWindowIcon()
const char* GetWindowName()
virtual Bool_t HandleButton(Event_t* event)
virtual Bool_t HandleConfigureNotify(Event_t* event)
virtual TClass* IsA() const
Bool_t IsCurrent() const
Bool_t IsMaximized() const
Bool_t IsMinimized() const
virtual void Layout()
void Maximize(Bool_t max = kTRUE)
void Minimize(Bool_t min = kTRUE)
virtual void Move(Int_t x, Int_t y)
virtual void MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
void SetCurrent(Bool_t cur = kTRUE)
void SetDecorBorderWidth(Int_t bw)
void SetMdiButtons(ULong_t buttons)
void SetMinimizedX(Int_t x)
void SetMinimizedY(Int_t y)
void SetMinUserPlacement(Bool_t place = kTRUE)
void SetPreResizeHeight(Int_t h)
void SetPreResizeWidth(Int_t w)
void SetPreResizeX(Int_t x)
void SetPreResizeY(Int_t y)
void SetResizeMode(Int_t mode = kMdiDefaultResizeMode)
void SetWindowIcon(const TGPicture* pic)
virtual void SetWindowName(const char* name)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Int_t fPreResizeX
Int_t fPreResizeY position before resizing
Int_t fPreResizeWidth
Int_t fPreResizeHeight dimension before resizing
Int_t fMinimizedX
Int_t fMinimizedY minimized position
Bool_t fIsMinimized
Bool_t fIsMaximized minimized and maximized flags
Bool_t fMinimizedUserPlacement user placement flag
Bool_t fIsCurrent current mdi window flag
TGMdiFrame* fFrame parent (owner) MDI frame
TGMdiMainFrame* fMdiMainFrame MDI main frame
TGMdiVerticalWinResizer* fUpperHR
TGMdiVerticalWinResizer* fLowerHR upper and lower vertical resizers
TGMdiCornerWinResizer* fUpperLeftCR
TGMdiCornerWinResizer* fLowerLeftCR upper left and lower left resizers
TGMdiCornerWinResizer* fUpperRightCR
TGMdiCornerWinResizer* fLowerRightCR upper right and lower right resizers
TGMdiHorizontalWinResizer* fLeftVR
TGMdiHorizontalWinResizer* fRightVR left and right horizontal resizers
TGLayoutHints* fLHint
TGLayoutHints* fExpandHint layout hints
ULong_t fButtonMask mask used to display/hide buttons
TGMdiTitleBar* fTitlebar MDI window title bar
public:
static const enum TGMdiDecorFrame:: kMdiBorderWidth
TGMdiDecorFrame(TGMdiMainFrame *main, TGMdiFrame *frame, Int_t w, Int_t h, const TGGC *boxGC, UInt_t options, Pixel_t back)
TGMdiDecorFrame constructor.
The TGMdiDecorFrame is the frame containing MDI decorations like
title bar, minimize, maximize, restore and close buttons, and resizers.
void Layout()
Recalculates the postion and the size of all decor frame components.
void SetWindowName(const char *name)
Set MDI Window name (appearing in the title bar)
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.