library: libGui
#include "TGShutter.h"

TGShutter


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

class TGShutter : public TGCompositeFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TGShutter

    protected:
TGShutter(const TGShutter&) TGShutter& operator=(const TGShutter&) public:
TGShutter(const TGWindow* p = 0, UInt_t options = kSunkenFrame) virtual ~TGShutter() virtual void AddItem(TGShutterItem* item) virtual TGShutterItem* AddPage(const char* item = "Page") static TClass* Class() TGShutterItem* GetItem(const char* name) TGShutterItem* GetSelectedItem() const virtual Bool_t HandleTimer(TTimer* t) virtual TClass* IsA() const virtual void Layout() virtual Bool_t ProcessMessage(Long_t cmd, Long_t parm1, Long_t parm2) virtual void RemoveItem(const char* name) virtual void RemovePage() virtual void RenamePage(const char* name) virtual void SavePrimitive(ostream& out, Option_t* option = "") virtual void Selected(TGShutterItem* item) virtual void SetLayoutManager(TGLayoutManager*) virtual void SetSelectedItem(TGShutterItem* item) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TTimer* fTimer Timer for animation TGShutterItem* fSelectedItem Item currently open TGShutterItem* fClosingItem Item closing down TList* fTrash Items that need to be cleaned up Int_t fHeightIncrement Height delta Int_t fClosingHeight Closing items current height Int_t fClosingHadScrollbar Closing item had a scroll bar

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.                                              
                                                                      

TGShutter(const TGWindow *p, UInt_t options)
 Create shutter frame.
TGShutter(const TGShutter& sh)
 Copy ctor.
TGShutter& operator=(const TGShutter& sh)
assignment operator
~TGShutter()
 Cleanup shutter widget.
void AddItem(TGShutterItem *item)
 Add shutter item to shutter frame.
void RemoveItem(const char *name)
 Remove item from shutter
void RemovePage()
 Remove selected page
void RenamePage(const char *name)
 Rename selected page
TGShutterItem * AddPage(const char *name)
 Add new page (shutter item)
Bool_t HandleTimer(TTimer *)
 Shutter item animation.
void Layout()
 Layout shutter items.
void SetSelectedItem(TGShutterItem *item)
 Set item to be the currently open shutter item.
TGShutterItem * GetItem(const char *name)
 returns a shutter item by name (name is hot string of shutter item)
void SavePrimitive(ostream &out, Option_t *option /*= ""*/)
 Save a shutter widget as a C++ statement(s) on output stream out.
void Selected()
void SetLayoutManager(TGLayoutManager*)
Bool_t ProcessMessage(Long_t cmd, Long_t parm1, Long_t parm2)

Author: Fons Rademakers 18/9/2000
Last update: root/gui:$Name: $:$Id: TGShutter.cxx,v 1.18 2006/07/09 05:27:54 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.