library: libGui #include "TGShutter.h"

# TGShutterItem

class description - source file - inheritance tree (.pdf)

## class TGShutterItem : public TGVerticalFrame, public TGWidget

| Inheritance Chart:

`TObject`

<-

`TGObject`

<-

`TGWindow`

`TQObject`

<-

`TGFrame`

<-

`TGCompositeFrame`

<-

`TGVerticalFrame`

`TGWidget`

<-

`TGShutterItem`

        public:

                          TGShutterItem(const TGWindow* p = 0, TGHotString* s = 0, Int_t id = -1, UInt_t options = 0)
                          TGShutterItem(const TGShutterItem&)
                  virtual ~TGShutterItem()
           static TClass* Class()
                TGButton* GetButton() const
                 TGFrame* GetContainer() const
          virtual TClass* IsA() const
             virtual void SavePrimitive(ofstream& out, Option_t* option)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

               TGButton* fButton     shutter item button
               TGCanvas* fCanvas     canvas of shutter item
                TGFrame* fContainer  container in canvas containing shutter items
          TGLayoutHints* fL1
          TGLayoutHints* fL2         positioning hints

## Class Description

     TGShutter, TGShutterItem

     A shutter widget contains a set of shutter items that can be
     open and closed like a shutter.
     This widget is usefull to group a large number of options in
     a number of categories.

TGShutterItem(const TGWindow *p, TGHotString *s, Int_t id, UInt_t options) : TGVerticalFrame (p, 10, 10, options), TGWidget (id)

     Create a shutter item.

~TGShutterItem()

     Clan up shutter item.

void SavePrimitive(ofstream &out, Option_t *option)

     Save a shutter item widget as a C++ statement(s) on output stream out

### Inline Functions

                TGButton* GetButton() const
                 TGFrame* GetContainer() const
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
            TGShutterItem TGShutterItem(const TGShutterItem&)

Author: Fons Rademakers 18/9/2000
Last update: root/gui:$Name: $:$Id: TGShutter.cxx,v 1.9 2004/12/07 15:34:27 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *