#define ClassDef(name, id)
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.
TGLayoutHints * fL2
positioning hints
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a shutter item widget as a C++ statement(s) on output stream out.
TGFrame * fContainer
container in canvas containing shutter items
virtual ~TGShutterItem()
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.
virtual void SetLayoutManager(TGLayoutManager *)
Set the layout manager for the composite frame.
TGShutterItem * fClosingItem
Item closing down.
TGShutter & operator=(const TGShutter &)=delete
TTimer * fTimer
Timer for animation.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a shutter widget as a C++ statement(s) on output stream out.
TGShutterItem * GetItem(const char *name)
returns a shutter item by name (name is hot string of shutter item)
virtual void Layout()
Layout shutter items.
virtual Bool_t HandleTimer(TTimer *t)
Shutter item animation.
UInt_t fDefHeight
Default height.
TGShutterItem * fSelectedItem
Item currently open.
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.
Int_t fClosingHeight
Closing items current height.
virtual TGDimension GetDefaultSize() const
Return the default / minimal size of the widget.
virtual void Selected(TGShutterItem *item)
TGShutterItem * GetSelectedItem() const
Int_t fClosingHadScrollbar
Closing item had a scroll bar.
virtual TGShutterItem * AddPage(const char *item="Page")
Add new page (shutter item)
virtual ~TGShutter()
Cleanup shutter widget.
virtual void RenamePage(const char *name)
Rename selected page.
virtual Bool_t ProcessMessage(Longptr_t cmd, Longptr_t parm1, Longptr_t parm2)
Handle shutter messages.
UInt_t fDefWidth
Default width.
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.