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