113   item->DestroyWindow();
 
 
  147   static int id = 1000;
 
 
  233      bh = 
child->fButton->GetDefaultHeight();
 
  241      bh = 
child->fButton->GetDefaultHeight();
 
 
  296   item->GetButton()->SetEnabled(
on);
 
 
  393   out << 
"\n   // \"" << 
outtext << 
"\" shutter item \n";
 
  394   out << 
"   TGShutterItem *" << 
GetName() << 
" = new TGShutterItem(" << 
fParent->GetName() << 
", new TGHotString(\"" 
  399      out << 
"   " << 
GetName() << 
"->SetName(\"" << 
GetName() << 
"\");\n";
 
  407       << 
"->GetContainer();\n";
 
  411      el->fFrame->SavePrimitive(out, 
option);
 
  413      el->fLayout->SavePrimitive(out, 
option);
 
 
  423   out << 
"\n   // shutter\n";
 
  429      out << 
"   " << 
GetName() << 
"->SetDefaultSize(";
 
  433      out << 
"   " << 
GetName() << 
"->SetName(\"" << 
GetName() << 
"\");\n";
 
  441      el->fFrame->SavePrimitive(out, 
option);
 
  442      out << 
"   " << 
GetName() << 
"->AddItem(" << 
el->fFrame->GetName();
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t sel
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t child
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
 
virtual Int_t GetEntries() const
 
A frame containing two scrollbars (a horizontal and a vertical) and a viewport.
 
virtual void SetContainer(TGFrame *f)
 
TGViewPort * GetViewPort() const
 
Pixel_t GetShadow(Pixel_t base_color) const
Return pixel value of shadow color based on base_color.
 
The base class for composite widgets (menu bars, list boxes, etc.).
 
TGLayoutManager * fLayoutManager
layout manager
 
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
 
virtual TList * GetList() const
 
Int_t MustCleanup() const override
 
void MapSubwindows() override
Map all sub windows that are part of the composite frame.
 
TList * fList
container of frame elements
 
virtual void RemoveFrame(TGFrame *f)
Remove frame from composite frame.
 
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
 
UInt_t fHeight
frame height
 
virtual UInt_t GetDefaultHeight() const
 
Int_t fBorderWidth
frame border width
 
void SetBackgroundColor(Pixel_t back) override
Set background color (override from TGWindow base class).
 
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
 
virtual UInt_t GetOptions() const
 
TString GetOptionString() const
Returns a frame option string - used in SavePrimitive().
 
TGHotString is a string with a "hot" character underlined.
 
This class describes layout hints used by the layout classes.
 
TGClient * fClient
Connection to display server.
 
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
 
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.
 
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.
 
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.
 
Yield an action as soon as it is clicked.
 
A composite frame that layout their children in vertical way.
 
TGVerticalFrame(const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
 
ROOT GUI Window base class.
 
virtual void SetEditDisabled(UInt_t on=kEditDisable)
 
const TGWindow * fParent
Parent window.
 
@ kEditDisableLayout
window layout cannot be edited
 
@ kEditDisableBtnEnable
window can handle mouse button events
 
@ kEditDisableGrab
window grab cannot be edited
 
const char * GetName() const override
Return unique name, used in SavePrimitive methods.
 
UInt_t fEditDisabled
flags used for "guibuilding"
 
TObject * After(const TObject *obj) const override
Returns the object after object obj.
 
TObject * Before(const TObject *obj) const override
Returns the object before object obj.
 
TObject * FindObject(const char *name) const override
Find an object in this list using its name.
 
void Add(TObject *obj) override
 
TObject * First() const override
Return the first object in the list. Returns 0 when list is empty.
 
void Delete(Option_t *option="") override
Remove all objects from the list AND delete all heap based objects.
 
R__ALWAYS_INLINE Bool_t IsZombie() const
 
Handles synchronous and a-synchronous timer events.
 
virtual void TurnOff()
Remove timer from system timer list.
 
virtual void TurnOn()
Add the timer to the system timer list.
 
void Reset()
Reset the timer.