#define ClassDefOverride(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
A frame containing two scrollbars (a horizontal and a vertical) and a viewport.
TGFrame * GetContainer() const
The base class for composite widgets (menu bars, list boxes, etc.).
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
TGHotString is a string with a "hot" character underlined.
This class describes layout hints used by the layout classes.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a shutter item widget as a C++ statement(s) on output stream out.
TGLayoutHints * fL2
positioning hints
TGFrame * fContainer
container in canvas containing shutter items
~TGShutterItem() override
Clan up shutter item.
TGCanvas * fCanvas
canvas of shutter item
TGButton * GetButton() const
TGShutterItem & operator=(const TGShutterItem &)=delete
TGButton * fButton
shutter item button
TGShutterItem(const TGShutterItem &)=delete
TGFrame * GetContainer() const
A shutter widget contains a set of shutter items that can be open and closed like a shutter.
virtual void AddItem(TGShutterItem *item)
Add shutter item to shutter frame.
virtual void RemovePage()
Remove selected page.
TGShutterItem * fClosingItem
Item closing down.
TGDimension GetDefaultSize() const override
Return the default / minimal size of the widget.
TGShutter & operator=(const TGShutter &)=delete
TTimer * fTimer
Timer for animation.
Bool_t ProcessMessage(Longptr_t cmd, Longptr_t parm1, Longptr_t parm2) override
Handle shutter messages.
TGShutterItem * GetItem(const char *name)
returns a shutter item by name (name is hot string of shutter item)
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a shutter widget as a C++ statement(s) on output stream out.
UInt_t fDefHeight
Default height.
TGShutterItem * fSelectedItem
Item currently open.
void SetLayoutManager(TGLayoutManager *) override
Set the layout manager for the composite frame.
virtual void EnableItem(const char *name, Bool_t on=kTRUE)
Disable/enbale shutter item.
virtual void SetSelectedItem(TGShutterItem *item)
Set item to be the currently open shutter item.
TGShutter(const TGShutter &)=delete
TList * fTrash
Items that need to be cleaned up.
Int_t fHeightIncrement
Height delta.
virtual void SetDefaultSize(UInt_t w, UInt_t h)
Set the default / minimal size of the widget.
void Layout() override
Layout shutter items.
Int_t fClosingHeight
Closing items current height.
virtual void Selected(TGShutterItem *item)
TGShutterItem * GetSelectedItem() const
Int_t fClosingHadScrollbar
Closing item had a scroll bar.
~TGShutter() override
Cleanup shutter widget.
virtual TGShutterItem * AddPage(const char *item="Page")
Add new page (shutter item)
virtual void RenamePage(const char *name)
Rename selected page.
UInt_t fDefWidth
Default width.
Bool_t HandleTimer(TTimer *t) override
Shutter item animation.
virtual void RemoveItem(const char *name)
Remove item from shutter.
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
Handles synchronous and a-synchronous timer events.