library: libGui
#include "TGShutter.h"


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

class TGShutter : public TGCompositeFrame

Inheritance Chart:

TGShutter(const TGWindow* p = 0, UInt_t options = kSunkenFrame) TGShutter(const TGShutter&) virtual ~TGShutter() virtual void AddItem(TGShutterItem* item) 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 SavePrimitive(ofstream& out, Option_t* option) virtual void SetSelectedItem(TGShutterItem* item) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

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) : TGCompositeFrame(p, 10, 10, options)
 Create shutter frame.

 Cleanup shutter widget.

void AddItem(TGShutterItem *item)
 Add shutter item to shutter frame.

Bool_t ProcessMessage(Long_t /*msg*/, Long_t parm1, Long_t /*parm2*/)
 Handle shutter messages.

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(ofstream &out, Option_t *option)
 Save a shutter widget as a C++ statement(s) on output stream out.

Inline Functions

        TGShutterItem* GetSelectedItem() const
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void StreamerNVirtual(TBuffer& b)
             TGShutter TGShutter(const TGShutter&)

Author: Fons Rademakers 18/9/2000
Last update: root/gui:$Name: $:$Id: TGShutter.cxx,v 1.11 2005/09/05 13:33:08 rdm 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.