GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
GRootCanvas Class Reference

This class creates a main window with menubar, scrollbars and a drawing area. The widgets used are the new native ROOT GUI widgets.

A slightly edited version of the the GRootCanvas file in the default root source. The reason for the swap was take more control over the keyboard interface to the canvas (particularly the arrow keys).

Definition at line 46 of file GRootCanvas.h.

Public Member Functions

 GRootCanvas (GCanvas *c=nullptr, const char *name="ROOT Canvas", UInt_t width=500, UInt_t height=300)
 
 GRootCanvas (GCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height)
 
 ~GRootCanvas () override
 
void Activated (Int_t id)
 
void AdjustSize ()
 
void Close () override
 
void CloseWindow () override
 
void EventInfo (Int_t event, Int_t px, Int_t py, TObject *selected)
 
void FitCanvas ()
 
void ForceUpdate () override
 
UInt_t GetCheight () const
 
UInt_t GetCwidth () const
 
TGMenuBar * GetMenuBar () const
 
TGLayoutHints * GetMenuBarItemLayout () const
 
TGStatusBar * GetStatusBar () const
 
TGDockableFrame * GetToolDock () const
 
UInt_t GetWindowGeometry (Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override
 
Bool_t HasEditor () const override
 
Bool_t HasMenuBar () const override
 
Bool_t HasStatusBar () const override
 
Bool_t HasToolBar () const override
 
Bool_t HasToolTips () const override
 
void Iconify () override
 
Int_t InitWindow () override
 
void PrintCanvas ()
 
Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2) override
 
void RaiseWindow () override
 
void ReallyDelete () override
 
void SetCanvasSize (UInt_t w, UInt_t h) override
 
void SetStatusText (const char *txt=nullptr, Int_t partidx=0) override
 
void SetWindowPosition (Int_t x, Int_t y) override
 
void SetWindowSize (UInt_t w, UInt_t h) override
 
void SetWindowTitle (const char *title) override
 
void Show () override
 
void ShowEditor (Bool_t show=kTRUE) override
 
void ShowMenuBar (Bool_t show=kTRUE) override
 
void ShowStatusBar (Bool_t show=kTRUE) override
 
void ShowToolBar (Bool_t show=kTRUE) override
 
void ShowToolTips (Bool_t show=kTRUE) override
 

Private Member Functions

 GRootCanvas (const GRootCanvas &)
 
void CreateCanvas (const char *name)
 
void CreateEditor ()
 
Bool_t HandleContainerButton (Event_t *event)
 
Bool_t HandleContainerConfigure (Event_t *ev)
 
Bool_t HandleContainerCrossing (Event_t *event)
 
Bool_t HandleContainerDoubleClick (Event_t *event)
 
Bool_t HandleContainerExpose (Event_t *event)
 
Bool_t HandleContainerKey (Event_t *event)
 
Bool_t HandleContainerMotion (Event_t *event)
 
Bool_t HandleDNDDrop (TDNDData *data) override
 
Atom_t HandleDNDEnter (Atom_t *typelist) override
 
Bool_t HandleDNDLeave () override
 
Atom_t HandleDNDPosition (Int_t x, Int_t y, Atom_t action, Int_t xroot, Int_t yroot) override
 
GRootCanvasoperator= (const GRootCanvas &)
 

Private Attributes

Bool_t fAutoFit
 
Int_t fButton
 
GRootContainerfCanvasContainer
 
Int_t fCanvasID
 
TGLayoutHints * fCanvasLayout
 
TGCanvas * fCanvasWindow
 
TGLayoutHints * fDockLayout
 
TGPopupMenu * fEditClearMenu
 
TGPopupMenu * fEditMenu
 
TVirtualPadEditor * fEditor
 
TGCompositeFrame * fEditorFrame
 
TGLayoutHints * fEditorLayout
 
Bool_t fEmbedded
 
TGPopupMenu * fFileMenu
 
TGPopupMenu * fFileSaveMenu
 
TGPopupMenu * fHelpMenu
 
TGHorizontal3DLine * fHorizontal1
 
TGLayoutHints * fHorizontal1Layout
 
const TGPicture * fIconPic
 
TGCompositeFrame * fMainFrame
 
TGLayoutHints * fMainFrameLayout
 
TGMenuBar * fMenuBar
 
TGLayoutHints * fMenuBarHelpLayout
 
TGLayoutHints * fMenuBarItemLayout
 
TGLayoutHints * fMenuBarLayout
 
TGPopupMenu * fOptionMenu
 
TGStatusBar * fStatusBar
 
TGLayoutHints * fStatusBarLayout
 
TGToolBar * fToolBar
 
TGLayoutHints * fToolBarLayout
 
TGHorizontal3DLine * fToolBarSep
 
TGDockableFrame * fToolDock
 
TGPopupMenu * fToolsMenu
 
TGToolTip * fToolTip
 
TGVertical3DLine * fVertical1
 
TGLayoutHints * fVertical1Layout
 
TGVertical3DLine * fVertical2
 
TGLayoutHints * fVertical2Layout
 
TGPopupMenu * fViewMenu
 
TGPopupMenu * fViewWithMenu
 

Friends

class GRootContainer
 

#include <GRootCanvas.h>

+ Inheritance diagram for GRootCanvas:
+ Collaboration diagram for GRootCanvas:

Constructor & Destructor Documentation

◆ GRootCanvas() [1/3]

GRootCanvas::GRootCanvas ( const GRootCanvas )
private

◆ GRootCanvas() [2/3]

GRootCanvas::GRootCanvas ( GCanvas c = nullptr,
const char *  name = "ROOT Canvas",
UInt_t  width = 500,
UInt_t  height = 300 
)

◆ GRootCanvas() [3/3]

GRootCanvas::GRootCanvas ( GCanvas c,
const char *  name,
Int_t  x,
Int_t  y,
UInt_t  width,
UInt_t  height 
)

Create a basic ROOT canvas.

Definition at line 285 of file GRootCanvas.cxx.

References CreateCanvas(), ShowEditor(), and ShowToolBar().

◆ ~GRootCanvas()

Member Function Documentation

◆ Activated()

void GRootCanvas::Activated ( Int_t  id)

Slot handling tab switching in the browser, to properly set the canvas and the model to the editor.

Definition at line 1993 of file GRootCanvas.cxx.

References fEditor, and fEmbedded.

◆ AdjustSize()

void GRootCanvas::AdjustSize ( )

Keep the same canvas size while docking/undocking toolbar.

Definition at line 1615 of file GRootCanvas.cxx.

References fHorizontal1, fToolBar, fToolBarSep, fToolDock, fViewMenu, kViewEditor, and sh().

◆ Close()

void GRootCanvas::Close ( )
override

Called via TCanvasImp interface by TCanvas.

Definition at line 641 of file GRootCanvas.cxx.

References fEmbedded.

◆ CloseWindow()

void GRootCanvas::CloseWindow ( )
override

In case window is closed via WM we get here.

Definition at line 685 of file GRootCanvas.cxx.

◆ CreateCanvas()

void GRootCanvas::CreateCanvas ( const char *  name)
private

Create the actual canvas.

Definition at line 299 of file GRootCanvas.cxx.

References fAutoFit, fButton, fCanvasContainer, fCanvasID, fCanvasLayout, fCanvasWindow, fDockLayout, fEditClearMenu, fEditMenu, fEditor, fEditorFrame, fEditorLayout, fEmbedded, fFileMenu, fFileSaveMenu, fHelpMenu, fHorizontal1, fHorizontal1Layout, fIconPic, fMainFrame, fMainFrameLayout, fMenuBar, fMenuBarHelpLayout, fMenuBarItemLayout, fMenuBarLayout, fOptionMenu, fStatusBar, fStatusBarLayout, fToolBar, fToolBarLayout, fToolBarSep, fToolDock, fToolsMenu, fToolTip, fVertical1, fVertical1Layout, fVertical2, fVertical2Layout, fViewMenu, fViewWithMenu, GRootContainer, kClassesTree, kEditClearCanvas, kEditClearPad, kEditCopy, kEditCut, kEditPaste, kEditRedo, kEditStyle, kEditUndo, kFileCloseCanvas, kFileNewCanvas, kFileOpen, kFilePrint, kFileQuit, kFileSaveAs, kFileSaveAsC, kFileSaveAsEPS, kFileSaveAsGIF, kFileSaveAsJPG, kFileSaveAsPDF, kFileSaveAsPNG, kFileSaveAsPS, kFileSaveAsRoot, kFitPanel, kHelpAbout, kHelpOnBrowser, kHelpOnCanvas, kHelpOnGraphicsEd, kHelpOnMenus, kHelpOnObjects, kHelpOnPS, kInspectRoot, kOptionAutoExec, kOptionAutoResize, kOptionCanEdit, kOptionFitParams, kOptionHistTitle, kOptionInterrupt, kOptionMoveOpaque, kOptionRefresh, kOptionResizeCanvas, kOptionResizeOpaque, kOptionStatistics, kToolsBrowser, kToolsBuilder, kToolsRecorder, kViewColors, kViewEditor, kViewEventStatus, kViewFonts, kViewIconify, kViewMarkers, kViewOpenGL, kViewToolbar, kViewToolTips, kViewX3D, ShowEditor(), and ShowToolBar().

Referenced by GRootCanvas().

◆ CreateEditor()

void GRootCanvas::CreateEditor ( )
private

Create embedded editor.

Definition at line 1460 of file GRootCanvas.cxx.

References fEditor, and fEditorFrame.

Referenced by ShowEditor().

◆ EventInfo()

void GRootCanvas::EventInfo ( Int_t  event,
Int_t  px,
Int_t  py,
TObject *  selected 
)

Display a tooltip with infos about the primitive below the cursor.

Definition at line 1304 of file GRootCanvas.cxx.

References fButton, and fToolTip.

◆ FitCanvas()

void GRootCanvas::FitCanvas ( )

Fit canvas container to current window size.

Definition at line 1219 of file GRootCanvas.cxx.

References fAutoFit, and fCanvasContainer.

Referenced by ProcessMessage().

◆ ForceUpdate()

void GRootCanvas::ForceUpdate ( )
inlineoverride

Definition at line 119 of file GRootCanvas.h.

◆ GetCheight()

UInt_t GRootCanvas::GetCheight ( ) const

Return height of canvas container.

Definition at line 701 of file GRootCanvas.cxx.

References fCanvasContainer.

◆ GetCwidth()

UInt_t GRootCanvas::GetCwidth ( ) const

Return width of canvas container.

Definition at line 693 of file GRootCanvas.cxx.

References fCanvasContainer.

◆ GetMenuBar()

TGMenuBar* GRootCanvas::GetMenuBar ( ) const
inline

Definition at line 150 of file GRootCanvas.h.

References fMenuBar.

◆ GetMenuBarItemLayout()

TGLayoutHints* GRootCanvas::GetMenuBarItemLayout ( ) const
inline

Definition at line 151 of file GRootCanvas.h.

References fMenuBarItemLayout.

◆ GetStatusBar()

TGStatusBar* GRootCanvas::GetStatusBar ( ) const
inline

Definition at line 152 of file GRootCanvas.h.

References fStatusBar.

◆ GetToolDock()

TGDockableFrame* GRootCanvas::GetToolDock ( ) const
inline

Definition at line 153 of file GRootCanvas.h.

References fToolDock.

◆ GetWindowGeometry()

UInt_t GRootCanvas::GetWindowGeometry ( Int_t &  x,
Int_t &  y,
UInt_t &  w,
UInt_t &  h 
)
override

Gets the size and position of the window containing the canvas. This size includes the menubar and borders.

Definition at line 709 of file GRootCanvas.cxx.

References fEditorFrame.

◆ HandleContainerButton()

Bool_t GRootCanvas::HandleContainerButton ( Event_t *  event)
private

Handle mouse button events in the canvas container.

Definition at line 1642 of file GRootCanvas.cxx.

References fButton, fToolTip, and kButton1Ctrl.

Referenced by GRootContainer::HandleButton().

◆ HandleContainerConfigure()

Bool_t GRootCanvas::HandleContainerConfigure ( Event_t *  ev)
private

Handle configure (i.e. resize) event.

Definition at line 1720 of file GRootCanvas.cxx.

References fAutoFit, fCanvasContainer, and SetWindowSize().

Referenced by GRootContainer::HandleConfigureNotify().

◆ HandleContainerCrossing()

Bool_t GRootCanvas::HandleContainerCrossing ( Event_t *  event)
private

Handle enter/leave events. Only leave is activated at the moment.

Definition at line 1876 of file GRootCanvas.cxx.

Referenced by GRootContainer::HandleCrossing().

◆ HandleContainerDoubleClick()

Bool_t GRootCanvas::HandleContainerDoubleClick ( Event_t *  event)
private

Handle mouse button double click events in the canvas container.

Definition at line 1698 of file GRootCanvas.cxx.

Referenced by GRootContainer::HandleDoubleClick().

◆ HandleContainerExpose()

Bool_t GRootCanvas::HandleContainerExpose ( Event_t *  event)
private

Handle expose events.

Definition at line 1864 of file GRootCanvas.cxx.

Referenced by GRootContainer::HandleExpose().

◆ HandleContainerKey()

Bool_t GRootCanvas::HandleContainerKey ( Event_t *  event)
private

Handle keyboard events in the canvas container.

This is the function I wanted to edit so bad that I went through all the trouble to copy this thing. This will allow us to take complete control of the canvas interface make a more root-ish/radware-isf work enviorment. pcb.

Definition at line 1741 of file GRootCanvas.cxx.

References fButton, fCanvasContainer, GCanvas::HandleArrowKeyPress(), GCanvas::HandleKeyboardPress(), kArrowKeyPress, and kArrowKeyRelease.

Referenced by GRootContainer::HandleKey().

◆ HandleContainerMotion()

Bool_t GRootCanvas::HandleContainerMotion ( Event_t *  event)
private

Handle mouse motion event in the canvas container.

Definition at line 1839 of file GRootCanvas.cxx.

References fButton.

Referenced by GRootContainer::HandleMotion().

◆ HandleDNDDrop()

Bool_t GRootCanvas::HandleDNDDrop ( TDNDData *  data)
overrideprivate

Handle drop events.

Definition at line 1893 of file GRootCanvas.cxx.

◆ HandleDNDEnter()

Atom_t GRootCanvas::HandleDNDEnter ( Atom_t *  typelist)
overrideprivate

Handle drag enter events.

Definition at line 1966 of file GRootCanvas.cxx.

◆ HandleDNDLeave()

Bool_t GRootCanvas::HandleDNDLeave ( )
overrideprivate

Handle drag leave events.

Definition at line 1985 of file GRootCanvas.cxx.

◆ HandleDNDPosition()

Atom_t GRootCanvas::HandleDNDPosition ( Int_t  x,
Int_t  y,
Atom_t  action,
Int_t  xroot,
Int_t  yroot 
)
overrideprivate

Handle dragging position events.

Definition at line 1951 of file GRootCanvas.cxx.

References pygui.grut-view::action.

◆ HasEditor()

Bool_t GRootCanvas::HasEditor ( ) const
override

Returns kTRUE if the editor is shown.

Definition at line 1575 of file GRootCanvas.cxx.

References fEditor, fViewMenu, and kViewEditor.

◆ HasMenuBar()

Bool_t GRootCanvas::HasMenuBar ( ) const
override

Returns kTRUE if the menu bar is shown.

Definition at line 1583 of file GRootCanvas.cxx.

References fMenuBar.

◆ HasStatusBar()

Bool_t GRootCanvas::HasStatusBar ( ) const
override

Returns kTRUE if the status bar is shown.

Definition at line 1591 of file GRootCanvas.cxx.

References fStatusBar.

◆ HasToolBar()

Bool_t GRootCanvas::HasToolBar ( ) const
override

Returns kTRUE if the tool bar is shown.

Definition at line 1599 of file GRootCanvas.cxx.

References fToolBar.

◆ HasToolTips()

Bool_t GRootCanvas::HasToolTips ( ) const
override

Returns kTRUE if the tooltips are enabled.

Definition at line 1607 of file GRootCanvas.cxx.

◆ Iconify()

void GRootCanvas::Iconify ( )
inlineoverride

Definition at line 125 of file GRootCanvas.h.

Referenced by ProcessMessage().

◆ InitWindow()

Int_t GRootCanvas::InitWindow ( )
override

Called by TCanvas ctor to get window indetifier.

Definition at line 1145 of file GRootCanvas.cxx.

References fCanvasID, fOptionMenu, kOptionMoveOpaque, and kOptionResizeOpaque.

◆ operator=()

GRootCanvas& GRootCanvas::operator= ( const GRootCanvas )
private

◆ PrintCanvas()

void GRootCanvas::PrintCanvas ( )

Print the canvas.

Definition at line 1236 of file GRootCanvas.cxx.

Referenced by ProcessMessage().

◆ ProcessMessage()

◆ RaiseWindow()

void GRootCanvas::RaiseWindow ( )
override

Put canvas window on top of the window stack.

Definition at line 1201 of file GRootCanvas.cxx.

◆ ReallyDelete()

void GRootCanvas::ReallyDelete ( )
override

Really delete the canvas and this GUI.

Definition at line 659 of file GRootCanvas.cxx.

References fEmbedded, and fToolTip.

◆ SetCanvasSize()

void GRootCanvas::SetCanvasSize ( UInt_t  w,
UInt_t  h 
)
override

Set size of canvas container. Units in pixels.

Definition at line 1160 of file GRootCanvas.cxx.

References fAutoFit, fCanvasContainer, fOptionMenu, and kOptionAutoResize.

◆ SetStatusText()

void GRootCanvas::SetStatusText ( const char *  txt = nullptr,
Int_t  partidx = 0 
)
override

Set text in status bar.

Definition at line 725 of file GRootCanvas.cxx.

References fStatusBar.

◆ SetWindowPosition()

void GRootCanvas::SetWindowPosition ( Int_t  x,
Int_t  y 
)
override

Set canvas position (units in pixels).

Definition at line 1178 of file GRootCanvas.cxx.

◆ SetWindowSize()

void GRootCanvas::SetWindowSize ( UInt_t  w,
UInt_t  h 
)
override

Set size of canvas (units in pixels).

Definition at line 1186 of file GRootCanvas.cxx.

Referenced by HandleContainerConfigure().

◆ SetWindowTitle()

void GRootCanvas::SetWindowTitle ( const char *  title)
override

Change title on window.

Definition at line 1209 of file GRootCanvas.cxx.

References fToolDock.

◆ Show()

void GRootCanvas::Show ( )
inlineoverride

Definition at line 135 of file GRootCanvas.h.

◆ ShowEditor()

void GRootCanvas::ShowEditor ( Bool_t  show = kTRUE)
override

Show or hide side frame.

Definition at line 1378 of file GRootCanvas.cxx.

References CreateEditor(), fEditor, fEditorFrame, fEmbedded, fHorizontal1, fMainFrame, fToolDock, fViewMenu, kViewEditor, kViewToolbar, main(), and s.

Referenced by CreateCanvas(), and GRootCanvas().

◆ ShowMenuBar()

void GRootCanvas::ShowMenuBar ( Bool_t  show = kTRUE)
override

Show or hide menubar.

Definition at line 1335 of file GRootCanvas.cxx.

References fMenuBar.

◆ ShowStatusBar()

void GRootCanvas::ShowStatusBar ( Bool_t  show = kTRUE)
override

Show or hide statusbar.

Definition at line 1347 of file GRootCanvas.cxx.

References fStatusBar, fViewMenu, kViewEventStatus, and sh().

◆ ShowToolBar()

void GRootCanvas::ShowToolBar ( Bool_t  show = kTRUE)
override

◆ ShowToolTips()

void GRootCanvas::ShowToolTips ( Bool_t  show = kTRUE)
override

Enable or disable tooltip info.

Definition at line 1563 of file GRootCanvas.cxx.

References fViewMenu, and kViewToolTips.

Friends And Related Function Documentation

◆ GRootContainer

friend class GRootContainer
friend

Definition at line 48 of file GRootCanvas.h.

Referenced by CreateCanvas().

Member Data Documentation

◆ fAutoFit

Bool_t GRootCanvas::fAutoFit
private

when true canvas container keeps same size as canvas

Definition at line 91 of file GRootCanvas.h.

Referenced by CreateCanvas(), FitCanvas(), HandleContainerConfigure(), ProcessMessage(), and SetCanvasSize().

◆ fButton

Int_t GRootCanvas::fButton
private

currently pressed button

Definition at line 92 of file GRootCanvas.h.

Referenced by CreateCanvas(), EventInfo(), HandleContainerButton(), HandleContainerKey(), and HandleContainerMotion().

◆ fCanvasContainer

GRootContainer* GRootCanvas::fCanvasContainer
private

◆ fCanvasID

Int_t GRootCanvas::fCanvasID
private

index in fWindows array of TGX11

Definition at line 90 of file GRootCanvas.h.

Referenced by CreateCanvas(), and InitWindow().

◆ fCanvasLayout

TGLayoutHints* GRootCanvas::fCanvasLayout
private

layout for canvas widget

Definition at line 66 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fCanvasWindow

TGCanvas* GRootCanvas::fCanvasWindow
private

canvas widget

Definition at line 51 of file GRootCanvas.h.

Referenced by CreateCanvas(), GRootContainer::HandleButton(), and ~GRootCanvas().

◆ fDockLayout

TGLayoutHints* GRootCanvas::fDockLayout
private

layout hints for dockable frame widget

Definition at line 84 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fEditClearMenu

TGPopupMenu* GRootCanvas::fEditClearMenu
private

clear cascade submenu

Definition at line 57 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fEditMenu

TGPopupMenu* GRootCanvas::fEditMenu
private

edit menu

Definition at line 56 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fEditor

TVirtualPadEditor* GRootCanvas::fEditor
private

pointer to currently loaded pad editor

Definition at line 88 of file GRootCanvas.h.

Referenced by Activated(), CreateCanvas(), CreateEditor(), HasEditor(), ShowEditor(), and ~GRootCanvas().

◆ fEditorFrame

TGCompositeFrame* GRootCanvas::fEditorFrame
private

side frame for current pad editor

Definition at line 70 of file GRootCanvas.h.

Referenced by CreateCanvas(), CreateEditor(), GetWindowGeometry(), ShowEditor(), and ~GRootCanvas().

◆ fEditorLayout

TGLayoutHints* GRootCanvas::fEditorLayout
private

layout for editor frame

Definition at line 71 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fEmbedded

Bool_t GRootCanvas::fEmbedded
private

true if embedded in any other frame (e.g. in the browser)

Definition at line 89 of file GRootCanvas.h.

Referenced by Activated(), Close(), CreateCanvas(), ReallyDelete(), ShowEditor(), and ~GRootCanvas().

◆ fFileMenu

TGPopupMenu* GRootCanvas::fFileMenu
private

file menu

Definition at line 54 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fFileSaveMenu

TGPopupMenu* GRootCanvas::fFileSaveMenu
private

save cascade submenu

Definition at line 55 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fHelpMenu

TGPopupMenu* GRootCanvas::fHelpMenu
private

help menu

Definition at line 62 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fHorizontal1

TGHorizontal3DLine* GRootCanvas::fHorizontal1
private

toolbar sepatator

Definition at line 79 of file GRootCanvas.h.

Referenced by AdjustSize(), CreateCanvas(), ShowEditor(), ShowToolBar(), and ~GRootCanvas().

◆ fHorizontal1Layout

TGLayoutHints* GRootCanvas::fHorizontal1Layout
private

layout hints for separator

Definition at line 82 of file GRootCanvas.h.

Referenced by CreateCanvas(), ShowToolBar(), and ~GRootCanvas().

◆ fIconPic

const TGPicture* GRootCanvas::fIconPic
private

icon picture

Definition at line 85 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fMainFrame

TGCompositeFrame* GRootCanvas::fMainFrame
private

main frame containing canvas and side frame

Definition at line 72 of file GRootCanvas.h.

Referenced by CreateCanvas(), ShowEditor(), and ~GRootCanvas().

◆ fMainFrameLayout

TGLayoutHints* GRootCanvas::fMainFrameLayout
private

layout for main frame

Definition at line 76 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fMenuBar

TGMenuBar* GRootCanvas::fMenuBar
private

menubar

Definition at line 53 of file GRootCanvas.h.

Referenced by CreateCanvas(), GetMenuBar(), HasMenuBar(), and ShowMenuBar().

◆ fMenuBarHelpLayout

TGLayoutHints* GRootCanvas::fMenuBarHelpLayout
private

layout hint for help menu in menubar

Definition at line 65 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fMenuBarItemLayout

TGLayoutHints* GRootCanvas::fMenuBarItemLayout
private

layout hints for menu in menubar

Definition at line 64 of file GRootCanvas.h.

Referenced by CreateCanvas(), GetMenuBarItemLayout(), and ~GRootCanvas().

◆ fMenuBarLayout

TGLayoutHints* GRootCanvas::fMenuBarLayout
private

menubar layout hints

Definition at line 63 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fOptionMenu

TGPopupMenu* GRootCanvas::fOptionMenu
private

option menu

Definition at line 60 of file GRootCanvas.h.

Referenced by CreateCanvas(), InitWindow(), ProcessMessage(), SetCanvasSize(), and ~GRootCanvas().

◆ fStatusBar

TGStatusBar* GRootCanvas::fStatusBar
private

statusbar widget

Definition at line 67 of file GRootCanvas.h.

Referenced by CreateCanvas(), GetStatusBar(), HasStatusBar(), SetStatusText(), ShowStatusBar(), and ~GRootCanvas().

◆ fStatusBarLayout

TGLayoutHints* GRootCanvas::fStatusBarLayout
private

layout hints for statusbar

Definition at line 68 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fToolBar

TGToolBar* GRootCanvas::fToolBar
private

icon button toolbar

Definition at line 74 of file GRootCanvas.h.

Referenced by AdjustSize(), CreateCanvas(), HasToolBar(), ShowToolBar(), and ~GRootCanvas().

◆ fToolBarLayout

TGLayoutHints* GRootCanvas::fToolBarLayout
private

layout for toolbar widget

Definition at line 73 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fToolBarSep

TGHorizontal3DLine* GRootCanvas::fToolBarSep
private

toolbar separator

Definition at line 75 of file GRootCanvas.h.

Referenced by AdjustSize(), CreateCanvas(), ShowToolBar(), and ~GRootCanvas().

◆ fToolDock

TGDockableFrame* GRootCanvas::fToolDock
private

dockable frame holding the toolbar

Definition at line 83 of file GRootCanvas.h.

Referenced by AdjustSize(), CreateCanvas(), GetToolDock(), SetWindowTitle(), ShowEditor(), ShowToolBar(), and ~GRootCanvas().

◆ fToolsMenu

TGPopupMenu* GRootCanvas::fToolsMenu
private

tools menu

Definition at line 61 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().

◆ fToolTip

TGToolTip* GRootCanvas::fToolTip
private

tooltip for object info

Definition at line 86 of file GRootCanvas.h.

Referenced by CreateCanvas(), EventInfo(), HandleContainerButton(), ReallyDelete(), and ~GRootCanvas().

◆ fVertical1

TGVertical3DLine* GRootCanvas::fVertical1
private

toolbar vertical separator

Definition at line 77 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ShowToolBar().

◆ fVertical1Layout

TGLayoutHints* GRootCanvas::fVertical1Layout
private

layout hints for separator

Definition at line 80 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ShowToolBar().

◆ fVertical2

TGVertical3DLine* GRootCanvas::fVertical2
private

toolbar vertical separator

Definition at line 78 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ShowToolBar().

◆ fVertical2Layout

TGLayoutHints* GRootCanvas::fVertical2Layout
private

layout hints for separator

Definition at line 81 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ShowToolBar().

◆ fViewMenu

TGPopupMenu* GRootCanvas::fViewMenu
private

◆ fViewWithMenu

TGPopupMenu* GRootCanvas::fViewWithMenu
private

view with... cascade submenu

Definition at line 59 of file GRootCanvas.h.

Referenced by CreateCanvas(), and ~GRootCanvas().