13 #ifndef ROOT_TRootCanvas    14 #define ROOT_TRootCanvas TGLayoutHints * fMenuBarLayout
 
TGLayoutHints * fEditorLayout
 
void CreateEditor()
Create embedded editor. 
 
ABC describing GUI independent main window (with menubar, scrollbars and a drawing area)...
 
void ShowStatusBar(Bool_t show=kTRUE)
Show or hide statusbar. 
 
Bool_t HandleContainerConfigure(Event_t *ev)
Handle configure (i.e. resize) event. 
 
TGLayoutHints * fVertical2Layout
 
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum". 
 
Bool_t HandleContainerCrossing(Event_t *ev)
Handle enter/leave events. Only leave is activated at the moment. 
 
void ShowToolBar(Bool_t show=kTRUE)
Show or hide toolbar. 
 
Bool_t HandleContainerMotion(Event_t *ev)
Handle mouse motion event in the canvas container. 
 
TGStatusBar * GetStatusBar() const
 
Bool_t HasMenuBar() const
Returns kTRUE if the menu bar is shown. 
 
TGHorizontal3DLine * fHorizontal1
 
TGHorizontal3DLine * fToolBarSep
 
virtual void Layout()
Layout the elements of the composite frame. 
 
TGLayoutHints * fHorizontal1Layout
 
UInt_t GetWindowGeometry(Int_t &x, Int_t &y, UInt_t &w, UInt_t &h)
Gets the size and position of the window containing the canvas. 
 
TGMenuBar * GetMenuBar() const
 
#define ClassDef(name, id)
 
TGPopupMenu * fEditClearMenu
 
TGDockableFrame * fToolDock
 
Atom_t HandleDNDPosition(Int_t x, Int_t y, Atom_t action, Int_t xroot, Int_t yroot)
Handle dragging position events. 
 
Bool_t HasToolTips() const
Returns kTRUE if the tooltips are enabled. 
 
TGLayoutHints * fDockLayout
 
TGPopupMenu * fFileSaveMenu
 
TGVertical3DLine * fVertical1
 
void ReallyDelete()
Really delete the canvas and this GUI. 
 
void AdjustSize()
Keep the same canvas size while docking/undocking toolbar. 
 
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Handle menu and other command generated by the user. 
 
TGPopupMenu * fViewWithMenu
 
TGLayoutHints * fMenuBarItemLayout
 
void RaiseWindow()
Put canvas window on top of the window stack. 
 
friend class TRootContainer
 
TGCompositeFrame * fMainFrame
 
TRootCanvas(const TRootCanvas &)
 
void ShowEditor(Bool_t show=kTRUE)
Show or hide side frame. 
 
void CreateCanvas(const char *name)
Create the actual canvas. 
 
void ShowMenuBar(Bool_t show=kTRUE)
Show or hide menubar. 
 
Int_t InitWindow()
Called by TCanvas ctor to get window indetifier. 
 
Bool_t HandleContainerButton(Event_t *ev)
Handle mouse button events in the canvas container. 
 
Bool_t HandleContainerExpose(Event_t *ev)
Handle expose events. 
 
void ShowToolTips(Bool_t show=kTRUE)
Enable or disable tooltip info. 
 
TVirtualPadEditor * fEditor
 
void SetWindowPosition(Int_t x, Int_t y)
Set canvas position (units in pixels). 
 
Bool_t HandleDNDLeave()
Handle drag leave events. 
 
Bool_t HandleDNDDrop(TDNDData *data)
Handle drop events. 
 
UInt_t GetCheight() const
Return height of canvas container. 
 
virtual void IconifyWindow()
 
Bool_t HandleContainerKey(Event_t *ev)
Handle keyboard events in the canvas container. 
 
Bool_t HasEditor() const
Returns kTRUE if the editor is shown. 
 
TGLayoutHints * fVertical1Layout
 
TGVertical3DLine * fVertical2
 
TGLayoutHints * fStatusBarLayout
 
Abstract base class used by ROOT graphics editor. 
 
const TGPicture * fIconPic
 
TGLayoutHints * GetMenuBarItemLayout() const
 
Mother of all ROOT objects. 
 
Atom_t HandleDNDEnter(Atom_t *typelist)
Handle drag enter events. 
 
TGPopupMenu * fOptionMenu
 
void Activated(Int_t id)
Slot handling tab switching in the browser, to properly set the canvas and the model to the editor...
 
void SetStatusText(const char *txt=0, Int_t partidx=0)
Set text in status bar. 
 
void Close()
Called via TCanvasImp interface by TCanvas. 
 
void FitCanvas()
Fit canvas container to current window size. 
 
TRootCanvas & operator=(const TRootCanvas &)
 
UInt_t GetCwidth() const
Return width of canvas container. 
 
void SetWindowSize(UInt_t w, UInt_t h)
Set size of canvas (units in pixels). 
 
void PrintCanvas()
Print the canvas. 
 
void EventInfo(Int_t event, Int_t px, Int_t py, TObject *selected)
Display a tooltip with infos about the primitive below the cursor. 
 
TGLayoutHints * fMainFrameLayout
 
TGLayoutHints * fMenuBarHelpLayout
 
Bool_t HandleContainerDoubleClick(Event_t *ev)
Handle mouse button double click events in the canvas container. 
 
TGDockableFrame * GetToolDock() const
 
TGCompositeFrame * fEditorFrame
 
TRootContainer * fCanvasContainer
 
TGLayoutHints * fToolBarLayout
 
void SetCanvasSize(UInt_t w, UInt_t h)
Set size of canvas container. Units in pixels. 
 
Bool_t HasStatusBar() const
Returns kTRUE if the status bar is shown. 
 
void CloseWindow()
In case window is closed via WM we get here. 
 
virtual ~TRootCanvas()
Delete ROOT basic canvas. 
 
Bool_t HasToolBar() const
Returns kTRUE if the tool bar is shown. 
 
void SetWindowTitle(const char *newTitle)
Change title on window. 
 
TGLayoutHints * fCanvasLayout