library: libGui #include "TRootCanvas.h" |
TRootCanvas
class description - header file - source file - inheritance tree (.pdf)
private:
void CreateCanvas(const char* name)
void CreateEditor()
Bool_t HandleContainerButton(Event_t* ev)
Bool_t HandleContainerConfigure(Event_t* ev)
Bool_t HandleContainerCrossing(Event_t* ev)
Bool_t HandleContainerDoubleClick(Event_t* ev)
Bool_t HandleContainerExpose(Event_t* ev)
Bool_t HandleContainerKey(Event_t* ev)
Bool_t HandleContainerMotion(Event_t* ev)
public:
TRootCanvas(TCanvas* c = 0, const char* name = "ROOT Canvas", UInt_t width = 500, UInt_t height = 300)
TRootCanvas(TCanvas* c, const char* name, Int_t x, Int_t y, UInt_t width, UInt_t height)
TRootCanvas(const TRootCanvas&)
virtual ~TRootCanvas()
void AdjustSize()
static TClass* Class()
virtual void Close()
virtual void CloseWindow()
void FitCanvas()
virtual void ForceUpdate()
UInt_t GetCheight() const
UInt_t GetCwidth() const
TGMenuBar* GetMenuBar() const
TGLayoutHints* GetMenuBarItemLayout() const
TGStatusBar* GetStatusBar() const
TGDockableFrame* GetToolDock() const
virtual UInt_t GetWindowGeometry(Int_t& x, Int_t& y, UInt_t& w, UInt_t& h)
virtual void Iconify()
virtual Int_t InitWindow()
virtual TClass* IsA() const
void PrintCanvas()
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
virtual void RaiseWindow()
virtual void ReallyDelete()
virtual void SetCanvasSize(UInt_t w, UInt_t h)
virtual void SetStatusText(const char* txt = "0", Int_t partidx = 0)
virtual void SetWindowPosition(Int_t x, Int_t y)
virtual void SetWindowSize(UInt_t w, UInt_t h)
virtual void SetWindowTitle(const char* newTitle)
virtual void Show()
virtual void ShowEditor(Bool_t show = kTRUE)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void ShowMenuBar(Bool_t show = kTRUE)
virtual void ShowStatusBar(Bool_t show = kTRUE)
virtual void ShowToolBar(Bool_t show = kTRUE)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TGCanvas* fCanvasWindow canvas widget
TRootContainer* fCanvasContainer container in canvas widget
TGMenuBar* fMenuBar menubar
TGPopupMenu* fFileMenu file menu
TGPopupMenu* fFileSaveMenu save cascade submenu
TGPopupMenu* fEditMenu edit menu
TGPopupMenu* fEditClearMenu clear cascade submenu
TGPopupMenu* fViewMenu view menu
TGPopupMenu* fViewWithMenu view with... cascade submenu
TGPopupMenu* fOptionMenu option menu
TGPopupMenu* fInspectMenu inspect menu
TGPopupMenu* fClassesMenu classes menu
TGPopupMenu* fHelpMenu help menu
TGLayoutHints* fMenuBarLayout menubar layout hints
TGLayoutHints* fMenuBarItemLayout layout hints for menu in menubar
TGLayoutHints* fMenuBarHelpLayout layout hint for help menu in menubar
TGLayoutHints* fCanvasLayout layout for canvas widget
TGStatusBar* fStatusBar statusbar widget
TGLayoutHints* fStatusBarLayout layout hints for statusbar
TGCompositeFrame* fEditorFrame side frame for current pad editor
TGLayoutHints* fEditorLayout layout for editor frame
TGCompositeFrame* fMainFrame main frame containing canvas and side frame
TGLayoutHints* fToolBarLayout layout for toolbar widget
TGToolBar* fToolBar icon button toolbar
TGHorizontal3DLine* fToolBarSep toolbar separator
TGLayoutHints* fMainFrameLayout layout for main frame
TGVertical3DLine* fVertical1 toolbar vertical separator
TGVertical3DLine* fVertical2 toolbar vertical separator
TGHorizontal3DLine* fHorizontal1 toolbar sepatator
TGLayoutHints* fVertical1Layout layout hints for separator
TGLayoutHints* fVertical2Layout layout hints for separator
TGLayoutHints* fHorizontal1Layout layout hints for separator
TGDockableFrame* fToolDock dockable frame holding the toolbar
const TGPicture* fIconPic icon picture
TVirtualPadEditor* fEditor pointer to currently loaded pad editor
Int_t fCanvasID index in fWindows array of TGX11
Bool_t fAutoFit when true canvas container keeps same size as canvas
Int_t fButton currently pressed button
TRootCanvas
This class creates a main window with menubar, scrollbars and a
drawing area. The widgets used are the new native ROOT GUI widgets.
void CreateCanvas(const char *name)
Create the actual canvas.
void CloseWindow()
In case window is closed via WM we get here.
void RaiseWindow()
Put canvas window on top of the window stack.
void FitCanvas()
Fit canvas container to current window size.
void AdjustSize()
Keep the same canvas size while docking/undocking toolbar.
Author: Fons Rademakers 15/01/98
Last update: root/gui:$Name: $:$Id: TRootCanvas.cxx,v 1.105 2006/07/04 09:24:43 antcheva Exp $
Copyright (C) 1995-2000, 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.