#include "TGMdiDecorFrame.h" |
TGMdiDecorFrame
class description - 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
const char* GetWindowName() const
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
Int_t fPreResizeWidth
Int_t fPreResizeHeight
Int_t fMinimizedX
Int_t fMinimizedY
Bool_t fIsMinimized
Bool_t fIsMaximized
Bool_t fMinimizedUserPlacement
Bool_t fIsCurrent
Int_t fIconX
Int_t fIconY
TGIcon* fLargeIcon
TGMdiFrame* fFrame
TGMdiMainFrame* fMdiMainFrame
TGMdiVerticalWinResizer* fUpperHR
TGMdiVerticalWinResizer* fLowerHR
TGMdiCornerWinResizer* fUpperLeftCR
TGMdiCornerWinResizer* fLowerLeftCR
TGMdiCornerWinResizer* fUpperRightCR
TGMdiCornerWinResizer* fLowerRightCR
TGMdiHorizontalWinResizer* fLeftVR
TGMdiHorizontalWinResizer* fRightVR
TGCompositeFrame* fLMenu
TGCompositeFrame* fRMenu
TGLayoutHints* fLHint
TGLayoutHints* fExpandHint
ULong_t fButtonMask
TGMdiTitleBar* fTitlebar
public:
static const enum TGMdiDecorFrame:: kMdiBorderWidth
TGMdiDecorFrame, TGMdiTitleBar, TGMdiButtons, TGMdiTitleIcon,
TGMdiWinResizer, TGMdiVerticalWinResizer, TGMdiHorizontalWinResizer,
and TGMdiCornerWinResizer.
This file contains all different MDI frame decoration classes.
TGMdiDecorFrame(TGMdiMainFrame *main, TGMdiFrame *frame,
Int_t w, Int_t h, const TGGC *boxGC,
UInt_t options, Pixel_t back) :
TGCompositeFrame(main->GetContainer(), w, h,
options | kOwnBackground | kVerticalFrame | kFixedSize, back)
~TGMdiDecorFrame()
dtor
void SetDecorBorderWidth(Int_t bw)
void SetMdiButtons(ULong_t buttons)
void SetResizeMode(Int_t mode)
void Layout()
void SetWindowName(const char *name)
void SetWindowIcon(const TGPicture *icon)
void Move(Int_t x, Int_t y)
void MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
Bool_t HandleConfigureNotify(Event_t *event)
resize event
Bool_t HandleButton(Event_t *event)
Inline Functions
Int_t CloseWindow()
ULong_t GetMdiButtons() const
const char* GetWindowName() const
const TGPicture* GetWindowIcon() const
Bool_t IsCurrent() const
Bool_t IsMinimized() const
Bool_t IsMaximized() const
Int_t GetPreResizeX() const
Int_t GetPreResizeY() const
Int_t GetPreResizeWidth() const
Int_t GetPreResizeHeight() const
Int_t GetMinimizedX() const
Int_t GetMinimizedY() const
Bool_t GetMinUserPlacement() const
void SetCurrent(Bool_t cur = kTRUE)
void SetPreResizeX(Int_t x)
void SetPreResizeY(Int_t y)
void SetPreResizeWidth(Int_t w)
void SetPreResizeHeight(Int_t h)
void SetMinimizedX(Int_t x)
void SetMinimizedY(Int_t y)
void Minimize(Bool_t min = kTRUE)
void Maximize(Bool_t max = kTRUE)
void SetMinUserPlacement(Bool_t place = kTRUE)
TGMdiFrame* GetMdiFrame() const
TGMdiTitleBar* GetTitleBar() const
TGMdiVerticalWinResizer* GetUpperHR() const
TGMdiVerticalWinResizer* GetLowerHR() const
TGMdiCornerWinResizer* GetUpperLeftCR() const
TGMdiCornerWinResizer* GetLowerLeftCR() const
TGMdiCornerWinResizer* GetUpperRightCR() const
TGMdiCornerWinResizer* GetLowerRightCR() const
TGMdiHorizontalWinResizer* GetLeftVR() const
TGMdiHorizontalWinResizer* GetRightVR() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGMdiDecorFrame TGMdiDecorFrame(const TGMdiDecorFrame&)
Author: Bertrand Bellenot 20/08/2004
Last update: root/gui:$Name: $:$Id: TGMdiDecorFrame.cxx,v 1.13 2005/07/05 12:36:06 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.