library: libGui
#include "TGMdiDecorFrame.h"

TGMdiDecorFrame


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

class TGMdiDecorFrame : public TGCompositeFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TGMdiDecorFrame

    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)

Data Members


    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

Class Description

                                                                      
 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)
 TGMdiDecorFrame constructor.
 The TGMdiDecorFrame is the frame containing MDI decorations like
 title bar, minimize, maximize, restore and close buttons, and resizers.
~TGMdiDecorFrame()
 TGMdiDecorFrame destructor.
void SetDecorBorderWidth(Int_t bw)
 Set border width of the decor.
void SetMdiButtons(ULong_t buttons)
 Set-up MDI buttons.
void SetResizeMode(Int_t mode)
 Set resize mode (opaque or transparent)
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)
void SetWindowIcon(const TGPicture *icon)
 Set Window icon (appearing in the title bar)
void Move(Int_t x, Int_t y)
 Move the MDI window at position x, y.
void MoveResize(Int_t x, Int_t y, UInt_t w, UInt_t h)
 Move the MDI window at position x, y and set size to w, h.
Bool_t HandleConfigureNotify(Event_t *event)
 Handle configure notify event.
Bool_t HandleButton(Event_t *event)
 Handle mouse button events.
TGMdiDecorFrame(TGMdiMainFrame *main, TGMdiFrame *frame, Int_t w, Int_t h, const TGGC *boxGC, UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground())
Int_t CloseWindow()
ULong_t GetMdiButtons()
Bool_t IsCurrent()
Bool_t IsMinimized()
Bool_t IsMaximized()
Int_t GetPreResizeX()
Int_t GetPreResizeY()
Int_t GetPreResizeWidth()
Int_t GetPreResizeHeight()
Int_t GetMinimizedX()
Int_t GetMinimizedY()
Bool_t GetMinUserPlacement()
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)

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.