library: libGui
#include "TRootCanvas.h"

TRootCanvas


class description - header file - source file
viewCVS header - viewCVS source

class TRootCanvas: public TGMainFrame, public TCanvasImp

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
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)
virtual~TRootCanvas()
voidTObject::AbstractMethod(const char* method) const
virtual voidTGFrame::Activate(Bool_t)
virtual voidTGCompositeFrame::AddFrame(TGFrame* f, TGLayoutHints* l = 0)
voidTGFrame::AddInput(UInt_t emask)
voidAdjustSize()
virtual voidTObject::AppendPad(Option_t* option = "")
virtual Bool_tTGMainFrame::BindKey(const TGWindow* w, Int_t keycode, Int_t modifier) const
virtual voidTObject::Browse(TBrowser* b)
TCanvas*TCanvasImp::Canvas() const
virtual voidTGFrame::ChangeBackground(Pixel_t back)
virtual voidTQObject::ChangedBy(const char* method)
virtual voidTGCompositeFrame::ChangeOptions(UInt_t options)
virtual voidTGCompositeFrame::ChangeSubframesBackground(Pixel_t back)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTGCompositeFrame::Cleanup()
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual voidClose()
virtual voidCloseWindow()
virtual Int_tTObject::Compare(const TObject* obj) const
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
Bool_tTGFrame::Contains(Int_t x, Int_t y) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTGFrame::Delete(Option_t* = "")
virtual voidTGFrame::DeleteWindow()
virtual voidTQObject::Destroyed()
virtual voidTGWindow::DestroySubwindows()
virtual voidTGWindow::DestroyWindow()
Bool_tTQObject::Disconnect(const char* signal = "0", void* receiver = 0, const char* slot = "0")
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = "0", void* receiver = 0, const char* slot = "0")
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = "0")
virtual voidTQObject::Disconnected(const char*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
voidTGMainFrame::DontCallClose()
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTGFrame::DrawBorder()
virtual voidTGFrame::DrawClass() const
virtual TObject*TGFrame::DrawClone(Option_t* = "") const
virtual voidTGFrame::DrawCopy(Handle_t, Int_t, Int_t)
virtual voidTGFrame::Dump() const
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
voidFitCanvas()
virtual voidForceUpdate()
virtual Pixel_tTGFrame::GetBackground() const
static const TGGC&TGFrame::GetBckgndGC()
TList*TGMainFrame::GetBindList() const
static const TGGC&TGFrame::GetBlackGC()
static Pixel_tTGFrame::GetBlackPixel()
Int_tTGFrame::GetBorderWidth() const
UInt_tGetCheight() const
voidTGMainFrame::GetClassHints(const char*& className, const char*& resourceName) const
TGClient*TGObject::GetClient() const
static Int_tTGWindow::GetCounter()
UInt_tGetCwidth() const
static Pixel_tTGFrame::GetDefaultFrameBackground()
virtual UInt_tTGCompositeFrame::GetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionTGCompositeFrame::GetDefaultSize() const
virtual UInt_tTGCompositeFrame::GetDefaultWidth() const
virtual Int_tTGFrame::GetDragType() const
virtual Option_t*TObject::GetDrawOption() const
virtual Int_tTGFrame::GetDropType() const
static Long_tTObject::GetDtorOnly()
virtual UInt_tTGWindow::GetEditDisabled() const
UInt_tTGFrame::GetEventMask() const
virtual Pixel_tTGFrame::GetForeground() const
TGFrameElement*TGFrame::GetFrameElement() const
virtual TGFrame*TGCompositeFrame::GetFrameFromPoint(Int_t x, Int_t y)
UInt_tTGFrame::GetHeight() const
static const TGGC&TGFrame::GetHilightGC()
virtual const char*TGMainFrame::GetIconName() const
const char*TGMainFrame::GetIconPixmap() const
Handle_tTGObject::GetId() const
virtual TGLayoutManager*TGCompositeFrame::GetLayoutManager() const
virtual TList*TGCompositeFrame::GetList() const
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TQObject::GetListOfSignals() const
virtual const TGWindow*TGWindow::GetMainFrame() const
UInt_tTGFrame::GetMaxHeight() const
UInt_tTGFrame::GetMaxWidth() const
TGMenuBar*GetMenuBar() const
TGLayoutHints*GetMenuBarItemLayout() const
UInt_tTGFrame::GetMinHeight() const
UInt_tTGFrame::GetMinWidth() const
voidTGMainFrame::GetMWMHints(UInt_t& value, UInt_t& funcs, UInt_t& input) const
virtual const char*TGWindow::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual UInt_tTGFrame::GetOptions() const
const TGWindow*TGWindow::GetParent() const
static const TGGC&TGFrame::GetShadowGC()
TGDimensionTGFrame::GetSize() const
Int_tTGCompositeFrame::GetState(TGFrame* f) const
TGStatusBar*GetStatusBar() const
virtual const char*TObject::GetTitle() const
TGDockableFrame*GetToolDock() const
virtual UInt_tTObject::GetUniqueID() const
static const TGGC&TGFrame::GetWhiteGC()
static Pixel_tTGFrame::GetWhitePixel()
UInt_tTGFrame::GetWidth() const
virtual UInt_tGetWindowGeometry(Int_t& x, Int_t& y, UInt_t& w, UInt_t& h)
const char*TGMainFrame::GetWindowName() const
voidTGMainFrame::GetWMPosition(Int_t& x, Int_t& y) const
voidTGMainFrame::GetWMSize(UInt_t& w, UInt_t& h) const
voidTGMainFrame::GetWMSizeHints(UInt_t& wmin, UInt_t& hmin, UInt_t& wmax, UInt_t& hmax, UInt_t& winc, UInt_t& hinc) const
EInitialStateTGMainFrame::GetWMState() const
Int_tTGFrame::GetX() const
Int_tTGFrame::GetY() const
virtual Bool_tTGCompositeFrame::HandleButton(Event_t*)
virtual Bool_tTGMainFrame::HandleClientMessage(Event_t* event)
virtual Bool_tTGFrame::HandleColormapChange(Event_t*)
virtual Bool_tTGFrame::HandleConfigureNotify(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleCrossing(Event_t*)
virtual Bool_tTGCompositeFrame::HandleDoubleClick(Event_t*)
virtual Bool_tTGCompositeFrame::HandleDragDrop(TGFrame* frame, Int_t x, Int_t y, TGLayoutHints* lo)
virtual Bool_tTGCompositeFrame::HandleDragEnter(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragLeave(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleEvent(Event_t* event)
virtual Bool_tTGWindow::HandleExpose(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleFocusChange(Event_t*)
virtual Bool_tTGWindow::HandleIdleEvent(TGIdleHandler*)
virtual Bool_tTGMainFrame::HandleKey(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleMotion(Event_t*)
virtual Bool_tTGCompositeFrame::HandleSelection(Event_t*)
virtual Bool_tTGFrame::HandleSelectionClear(Event_t*)
virtual Bool_tTGFrame::HandleSelectionRequest(Event_t*)
virtual Bool_tTGWindow::HandleTimer(TTimer*)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTGObject::Hash() const
virtual voidTGCompositeFrame::HideFrame(TGFrame* f)
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = "0")
virtual voidIconify()
virtual voidTGWindow::IconifyWindow()
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual Int_tInitWindow()
virtual voidTGFrame::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTGFrame::IsActive() const
Bool_tTGCompositeFrame::IsArranged(TGFrame* f) const
Bool_tTGCompositeFrame::IsArranged(TGFrameElement* ptr) const
virtual Bool_tTGCompositeFrame::IsComposite() const
virtual Bool_tTGCompositeFrame::IsEditable() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tTGCompositeFrame::IsLayoutBroken() const
virtual Bool_tTGWindow::IsMapped()
virtual Bool_tTGCompositeFrame::IsMapSubwindows() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTGCompositeFrame::IsVisible(TGFrame* f) const
Bool_tTGCompositeFrame::IsVisible(TGFrameElement* ptr) const
Bool_tTObject::IsZombie() const
virtual voidTGCompositeFrame::Layout()
static voidTQObject::LoadRQ_OBJECT()
virtual voidTGWindow::LowerWindow()
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = "0")
virtual voidTObject::ls(Option_t* option = "") const
virtual voidTGFrame::MapRaised()
virtual voidTGCompositeFrame::MapSubwindows()
virtual voidTGFrame::MapWindow()
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)
virtual voidTGFrame::Move(Int_t x, Int_t y)
virtual voidTGFrame::MoveResize(Int_t x, Int_t y, UInt_t w = 0, UInt_t h = 0)
virtual Int_tTGCompositeFrame::MustCleanup() const
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTGCompositeFrame::Print(Option_t* option = "") const
voidPrintCanvas()
virtual voidTGFrame::ProcessedEvent(Event_t* event)
virtual Bool_tProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
virtual voidRaiseWindow()
virtual Int_tTObject::Read(const char* name)
virtual voidReallyDelete()
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTGMainFrame::RemoveBind(const TGWindow* w, Int_t keycode, Int_t modifier) const
virtual voidTGCompositeFrame::RemoveFrame(TGFrame* f)
voidTGFrame::RemoveInput(UInt_t emask)
virtual voidTGFrame::ReparentWindow(const TGWindow* p, Int_t x = 0, Int_t y = 0)
virtual voidTGWindow::RequestFocus()
voidTObject::ResetBit(UInt_t f)
virtual voidTGFrame::Resize(TGDimension size)
virtual voidTGFrame::Resize(UInt_t w = 0, UInt_t h = 0)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTGMainFrame::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGCompositeFrame::SavePrimitiveSubframes(ostream& out, Option_t* option = "")
virtual voidTGMainFrame::SaveSource(const char* filename = "Rootappl.C", Option_t* option = "")
voidTGFrame::SaveUserColor(ostream& out, Option_t*)
virtual voidTGMainFrame::SendCloseMessage()
virtual voidTGFrame::SendMessage(const TGWindow* w, Long_t msg, Long_t parm1, Long_t parm2)
virtual voidTGFrame::SetBackgroundColor(Pixel_t back)
virtual voidTGWindow::SetBackgroundPixmap(Pixmap_t pixmap)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidSetCanvasSize(UInt_t w, UInt_t h)
voidTGMainFrame::SetClassHints(const char* className, const char* resourceName)
virtual voidTGCompositeFrame::SetCleanup(Int_t mode = kLocalCleanup)
virtual voidTGFrame::SetDragType(Int_t type)
virtual voidTGFrame::SetDrawOption(Option_t* = "")
virtual voidTGFrame::SetDropType(Int_t type)
static voidTObject::SetDtorOnly(void* obj)
virtual voidTGCompositeFrame::SetEditable(Bool_t on = kTRUE)
virtual voidTGCompositeFrame::SetEditDisabled(UInt_t on = 1)
virtual voidTGFrame::SetForegroundColor(Pixel_t)
voidTGFrame::SetFrameElement(TGFrameElement* fe)
virtual voidTGFrame::SetHeight(UInt_t h)
voidTGMainFrame::SetIconName(const char* name)
const TGPicture*TGMainFrame::SetIconPixmap(const char* iconName)
virtual voidTGCompositeFrame::SetLayoutBroken(Bool_t on = kTRUE)
virtual voidTGCompositeFrame::SetLayoutManager(TGLayoutManager* l)
virtual voidTGCompositeFrame::SetMapSubwindows(Bool_t on)
virtual voidTGFrame::SetMaxHeight(UInt_t h)
virtual voidTGFrame::SetMaxWidth(UInt_t w)
virtual voidTGFrame::SetMinHeight(UInt_t h)
virtual voidTGFrame::SetMinWidth(UInt_t w)
voidTGMainFrame::SetMWMHints(UInt_t value, UInt_t funcs, UInt_t input)
virtual voidTGWindow::SetName(const char* name)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTGFrame::SetSize(const TGDimension& s)
virtual voidSetStatusText(const char* txt = "0", Int_t partidx = 0)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTGFrame::SetWidth(UInt_t w)
virtual voidTGMainFrame::SetWindowName(const char* name = "0")
virtual voidSetWindowPosition(Int_t x, Int_t y)
virtual voidSetWindowSize(UInt_t w, UInt_t h)
virtual voidSetWindowTitle(const char* newTitle)
voidTGMainFrame::SetWMPosition(Int_t x, Int_t y)
voidTGMainFrame::SetWMSize(UInt_t w, UInt_t h)
voidTGMainFrame::SetWMSizeHints(UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc)
voidTGMainFrame::SetWMState(EInitialState state)
virtual voidTGFrame::SetX(Int_t x)
virtual voidTGFrame::SetY(Int_t y)
virtual voidShow()
virtual voidShowEditor(Bool_t show = kTRUE)
virtual voidTGCompositeFrame::ShowFrame(TGFrame* f)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidShowMenuBar(Bool_t show = kTRUE)
virtual voidShowStatusBar(Bool_t show = kTRUE)
virtual voidShowToolBar(Bool_t show = kTRUE)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual Bool_tTGCompositeFrame::TranslateCoordinates(TGFrame* child, Int_t x, Int_t y, Int_t& fx, Int_t& fy)
virtual voidTGFrame::UnmapWindow()
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
protected:
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidTGFrame::DoRedraw()
virtual voidTGFrame::Draw3dRectangle(UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
static Time_tTGFrame::GetLastClick()
TStringTGMainFrame::GetMWMfuncString() const
TStringTGMainFrame::GetMWMinpString() const
TStringTGMainFrame::GetMWMvalueString() const
TStringTGFrame::GetOptionString() const
const TGResourcePool*TGFrame::GetResourcePool() const
virtual void*TGFrame::GetSender()
virtual const char*TQObject::GetSenderClassName() const
virtual Bool_tTCanvasImp::IsLocked()
virtual voidTCanvasImp::Lock()
voidTObject::MakeZombie()
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)
virtual voidTCanvasImp::Unlock()
private:
TRootCanvas(const TRootCanvas&)
voidCreateCanvas(const char* name)
voidCreateEditor()
Bool_tHandleContainerButton(Event_t* ev)
Bool_tHandleContainerConfigure(Event_t* ev)
Bool_tHandleContainerCrossing(Event_t* ev)
Bool_tHandleContainerDoubleClick(Event_t* ev)
Bool_tHandleContainerExpose(Event_t* ev)
Bool_tHandleContainerKey(Event_t* ev)
Bool_tHandleContainerMotion(Event_t* ev)
TRootCanvas&operator=(const TRootCanvas&)

Data Members

public:
enum TGMainFrame::[unnamed] { kDontCallClose
};
enum TGWindow::EEditMode { kEditEnable
kEditDisable
kEditDisableEvents
kEditDisableGrab
kEditDisableLayout
kEditDisableResize
kEditDisableHeight
kEditDisableWidth
kEditDisableBtnEnable
kEditDisableKeyEnable
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TList*TGMainFrame::fBindListlist with key bindings
TStringTGMainFrame::fWindowNamewindow name
TStringTGMainFrame::fIconNameicon name
TStringTGMainFrame::fIconPixmapicon pixmap name
TStringTGMainFrame::fClassNameWM class name
TStringTGMainFrame::fResourceNameWM resource name
UInt_tTGMainFrame::fMWMValueMWM decoration hints
UInt_tTGMainFrame::fMWMFuncsMWM functions
UInt_tTGMainFrame::fMWMInputMWM input modes
Int_tTGMainFrame::fWMXWM x position
Int_tTGMainFrame::fWMYWM y position
UInt_tTGMainFrame::fWMWidthWM width
UInt_tTGMainFrame::fWMHeightWM height
UInt_tTGMainFrame::fWMMinWidthWM min width
UInt_tTGMainFrame::fWMMinHeightWM min height
UInt_tTGMainFrame::fWMMaxWidthWM max width
UInt_tTGMainFrame::fWMMaxHeightWM max height
UInt_tTGMainFrame::fWMWidthIncWM width increments
UInt_tTGMainFrame::fWMHeightIncWM height increments
EInitialStateTGMainFrame::fWMInitStateWM initial state
TGLayoutManager*TGCompositeFrame::fLayoutManagerlayout manager
TList*TGCompositeFrame::fListcontainer of frame elements
Bool_tTGCompositeFrame::fLayoutBrokenno layout manager is used
Int_tTGCompositeFrame::fMustCleanupcleanup mode (see EFrameCleanup)
Bool_tTGCompositeFrame::fMapSubwindowskTRUE - map subwindows
static TGLayoutHints*TGCompositeFrame::fgDefaultHintsdefault hints used by AddFrame()
Int_tTGFrame::fXframe x position
Int_tTGFrame::fYframe y position
UInt_tTGFrame::fWidthframe width
UInt_tTGFrame::fHeightframe height
UInt_tTGFrame::fMinWidthminimal frame width
UInt_tTGFrame::fMinHeightminimal frame height
UInt_tTGFrame::fMaxWidthmaximal frame width
UInt_tTGFrame::fMaxHeightmaximal frame height
Int_tTGFrame::fBorderWidthframe border width
UInt_tTGFrame::fOptionsframe options
Pixel_tTGFrame::fBackgroundframe background color
UInt_tTGFrame::fEventMaskcurrenty active event mask
TGFrameElement*TGFrame::fFEpointer to frame element
static Bool_tTGFrame::fgInit
static Pixel_tTGFrame::fgDefaultFrameBackground
static Pixel_tTGFrame::fgDefaultSelectedBackground
static Pixel_tTGFrame::fgWhitePixel
static Pixel_tTGFrame::fgBlackPixel
static const TGGC*TGFrame::fgBlackGC
static const TGGC*TGFrame::fgWhiteGC
static const TGGC*TGFrame::fgHilightGC
static const TGGC*TGFrame::fgShadowGC
static const TGGC*TGFrame::fgBckgndGC
static Time_tTGFrame::fgLastClick
static UInt_tTGFrame::fgLastButton
static Int_tTGFrame::fgDbx
static Int_tTGFrame::fgDby
static Window_tTGFrame::fgDbw
static UInt_tTGFrame::fgUserColor
const TGWindow*TGWindow::fParentParent window
Bool_tTGWindow::fNeedRedrawkTRUE if window needs to be redrawn
TStringTGWindow::fNamename of the window used in SavePrimitive()
static Int_tTGWindow::fgCountercounter of created windows in SavePrimitive
UInt_tTGWindow::fEditDisabledflags used for "guibuilding"
Handle_tTGObject::fIdX11/Win32 Window identifier
TGClient*TGObject::fClientConnection to display server
TList*TQObject::fListOfSignals! list of signals from this object
TList*TQObject::fListOfConnections! list of connections to this object
TCanvas*TCanvasImp::fCanvasTCanvas associated with this implementation
private:
TGCanvas*fCanvasWindowcanvas widget
TRootContainer*fCanvasContainercontainer in canvas widget
TGMenuBar*fMenuBarmenubar
TGPopupMenu*fFileMenufile menu
TGPopupMenu*fFileSaveMenusave cascade submenu
TGPopupMenu*fEditMenuedit menu
TGPopupMenu*fEditClearMenuclear cascade submenu
TGPopupMenu*fViewMenuview menu
TGPopupMenu*fViewWithMenuview with... cascade submenu
TGPopupMenu*fOptionMenuoption menu
TGPopupMenu*fInspectMenuinspect menu
TGPopupMenu*fClassesMenuclasses menu
TGPopupMenu*fHelpMenuhelp menu
TGLayoutHints*fMenuBarLayoutmenubar layout hints
TGLayoutHints*fMenuBarItemLayoutlayout hints for menu in menubar
TGLayoutHints*fMenuBarHelpLayoutlayout hint for help menu in menubar
TGLayoutHints*fCanvasLayoutlayout for canvas widget
TGStatusBar*fStatusBarstatusbar widget
TGLayoutHints*fStatusBarLayoutlayout hints for statusbar
TGCompositeFrame*fEditorFrameside frame for current pad editor
TGLayoutHints*fEditorLayoutlayout for editor frame
TGCompositeFrame*fMainFramemain frame containing canvas and side frame
TGLayoutHints*fToolBarLayoutlayout for toolbar widget
TGToolBar*fToolBaricon button toolbar
TGHorizontal3DLine*fToolBarSeptoolbar separator
TGLayoutHints*fMainFrameLayoutlayout for main frame
TGVertical3DLine*fVertical1toolbar vertical separator
TGVertical3DLine*fVertical2toolbar vertical separator
TGHorizontal3DLine*fHorizontal1toolbar sepatator
TGLayoutHints*fVertical1Layoutlayout hints for separator
TGLayoutHints*fVertical2Layoutlayout hints for separator
TGLayoutHints*fHorizontal1Layoutlayout hints for separator
TGDockableFrame*fToolDockdockable frame holding the toolbar
TGLayoutHints*fDockLayoutlayout hints for dockable frame widget
const TGPicture*fIconPicicon picture
TVirtualPadEditor*fEditorpointer to currently loaded pad editor
Int_tfCanvasIDindex in fWindows array of TGX11
Bool_tfAutoFitwhen true canvas container keeps same size as canvas
Int_tfButtoncurrently pressed button

Class Description

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

TRootCanvas(TCanvas *c, const char *name, UInt_t width, UInt_t height)
 Create a basic ROOT canvas.
TRootCanvas(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height)
 Create a basic ROOT canvas.
void CreateCanvas(const char *name)
 Create the actual canvas.
~TRootCanvas()
 Delete ROOT basic canvas. Order is significant. Delete in reverse
 order of creation.
void Close()
 Called via TCanvasImp interface by TCanvas.
void ReallyDelete()
 Really delete the canvas and this GUI.
void CloseWindow()
 In case window is closed via WM we get here.
UInt_t GetCwidth()
 Return width of canvas container.
UInt_t GetCheight()
 Return height of canvas container.
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. This
 size includes the menubar and borders.
void SetStatusText(const char *txt, Int_t partidx)
 Set text in status bar.
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)
 Handle menu and other command generated by the user.
Int_t InitWindow()
 Called by TCanvas ctor to get window indetifier.
void SetCanvasSize(UInt_t w, UInt_t h)
 Set size of canvas container. Units in pixels.
void SetWindowPosition(Int_t x, Int_t y)
 Set canvas position (units in pixels).
void SetWindowSize(UInt_t w, UInt_t h)
 Set size of canvas (units in pixels).
void RaiseWindow()
 Put canvas window on top of the window stack.
void SetWindowTitle(const char *title)
 Change title on window.
void FitCanvas()
 Fit canvas container to current window size.
void PrintCanvas()
 Print the canvas.
void ShowMenuBar(Bool_t show)
 Show or hide menubar.
void ShowStatusBar(Bool_t show)
 Show or hide statusbar.
void ShowEditor(Bool_t show)
 Show or hide side frame.
void CreateEditor()
 Create embedded editor.
void ShowToolBar(Bool_t show)
 Show or hide toolbar.
void AdjustSize()
 Keep the same canvas size while docking/undocking toolbar.
Bool_t HandleContainerButton(Event_t *event)
 Handle mouse button events in the canvas container.
Bool_t HandleContainerDoubleClick(Event_t *event)
 Handle mouse button double click events in the canvas container.
Bool_t HandleContainerConfigure(Event_t *)
 Handle configure (i.e. resize) event.
Bool_t HandleContainerKey(Event_t *event)
 Handle keyboard events in the canvas container.
Bool_t HandleContainerMotion(Event_t *event)
 Handle mouse motion event in the canvas container.
Bool_t HandleContainerExpose(Event_t *event)
 Handle expose events.
Bool_t HandleContainerCrossing(Event_t *event)
 Handle enter/leave events. Only leave is activated at the moment.
TRootCanvas(const TRootCanvas&)
TRootCanvas& operator=(const TRootCanvas&)
void ForceUpdate()
{ Layout(); }
void Iconify()
{ IconifyWindow(); }
void Show()
{ MapRaised(); }
TGMenuBar * GetMenuBar()
{ return fMenuBar; }
TGLayoutHints * GetMenuBarItemLayout()
{ return fMenuBarItemLayout; }
TGStatusBar * GetStatusBar()
{ return fStatusBar; }
TGDockableFrame * GetToolDock()
{ return fToolDock; }

Author: Fons Rademakers 15/01/98
Last update: root/gui:$Name: $:$Id: TRootCanvas.cxx,v 1.110 2006/11/16 17:17:37 rdm 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.