TRootEmbeddedCanvas
class description - source file - inheritance tree
private:
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:
TRootEmbeddedCanvas TRootEmbeddedCanvas(char* name, TGWindow* p, UInt_t w, UInt_t h, UInt_t options = kSunkenFrame|kDoubleBorder, ULong_t back = fgDefaultFrameBackground)
TRootEmbeddedCanvas TRootEmbeddedCanvas(TRootEmbeddedCanvas&)
virtual void ~TRootEmbeddedCanvas()
TClass* Class()
TCanvas* GetCanvas()
virtual TClass* IsA()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
TRootEmbeddedContainer* fCanvasContainer container in canvas widget
TCanvas* fCanvas pointer to TCanvas
Bool_t fAutoFit when true canvas container keeps same size as canvas
Int_t fButton currently pressed button
TRootEmbeddedCanvas
This class creates a TGCanvas in which a TCanvas is created. Use
GetCanvas() to get a pointer to the TCanvas.
TRootEmbeddedCanvas(const char *name, const TGWindow *p,
UInt_t w, UInt_t h, UInt_t options, ULong_t back)
: TGCanvas(p, w, h, options, back)
Create an TCanvas embedded in a TGFrame. A pointer to the TCanvas can
be obtained via the GetCanvas() member function.
~TRootEmbeddedCanvas()
Delete embedded ROOT canvas.
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.
Inline Functions
TCanvas* GetCanvas()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TRootEmbeddedCanvas TRootEmbeddedCanvas(TRootEmbeddedCanvas&)
Author: Fons Rademakers 15/07/98
Last update: 2.21/08 11/03/99 16.36.20 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - 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.