104 Error(
"CreateGLWidget",
"Widget already exists.");
125 Error(
"DestroyGLWidget",
"Widget does not exist.");
TGEventHandler * fEventHandler
select record from last overlay select
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void Layout()
Layout the elements of the composite frame.
virtual void RemoveFrame(TGFrame *f)
Remove frame from composite frame.
Minimal GL-viewer that can be embedded in a standard ROOT frames.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
ClassImp(TGLEmbeddedViewer)
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual void DestroyGLWidget()
Destroy the GLwidget, it is an error if it does not exist.
virtual void CreateGLWidget()
Create a GLwidget, it is an error if it is already created.
~TGLEmbeddedViewer()
Destroy standalone viewer object.
Base GL viewer object - used by both standalone and embedded (in pad) GL.
void Init(const TGWindow *parent)
Common initialization from all constructors.
friend class TGLEventHandler
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual void UnmapWindow()
TGLEmbeddedViewer(const TGLEmbeddedViewer &)
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
TGCompositeFrame * fFrame
virtual void DeleteWindow()
Delete window.
TGedEditor * fGedEditor
event handler
void CreateFrames()
Internal frames creation.