library: libGed #include "TGedPatternSelect.h"

# TGedPatternSelector

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

## class TGedPatternSelector : public TGCompositeFrame

| Inheritance Chart:
`TObject`
| <- | `TGObject`
| <- | `TGWindow`
`TQObject`
| <- | `TGFrame`
| <- | `TGCompositeFrame`
| <- | `TGedPatternSelector` |

        public:

                              TGedPatternSelector(const TGWindow* p)
                              TGedPatternSelector(const TGedPatternSelector&)
                      virtual ~TGedPatternSelector()
               static TClass* Class()
                        Int_t GetActive() const
              virtual TClass* IsA() const
               virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
                         void SetActive(Int_t newat)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

                      Int_t fActive
            const TGWindow* fMsgWindow
          TGedPatternFrame* fCe[27]

## Class Description

     TGedPatternFrame, TGedPatternSelector, TGedPatternPopup
     and TGedPatternColor

     The TGedPatternFrame is a small frame with border showing
     a specific pattern (fill style.

     The TGedPatternSelector is a composite frame with TGedPatternFrames
     of all diferent styles

     The TGedPatternPopup is a popup containing a TGedPatternSelector.

     The TGedPatternSelect widget is a button with pattern area with
     a little down arrow. When clicked on the arrow the
     TGedPatternPopup pops up.

     Selecting a pattern in this widget will generate the event:
     kC_PATTERNSEL, kPAT_SELCHANGED, widget id, style.

     and the signal:
     PatternSelected(Style_t pattern)

     TGedSelect is button that shows popup window when clicked.
     TGedPopup is a popup window.

TGedPatternSelector(const TGWindow *p) : TGCompositeFrame(p, 124, 190)

~TGedPatternSelector()

void SetActive(Int_t newat)

Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)

### Inline Functions

                          Int_t GetActive() const
                        TClass* Class()
                        TClass* IsA() const
                           void ShowMembers(TMemberInspector& insp, char* parent)
                           void Streamer(TBuffer& b)
                           void StreamerNVirtual(TBuffer& b)
            TGedPatternSelector TGedPatternSelector(const TGedPatternSelector&)

Author: Marek Biskup, Ilka Antcheva 22/07/03
Last update: root/ged:$Name: $:$Id: TGedPatternSelect.cxx,v 1.11 2005/05/19 20:39:38 brun Exp $
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *