library: libGed #include "TGedMarkerSelect.h"

# TGedMarkerSelect

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

## class TGedMarkerSelect : public TGedSelect

| Inheritance Chart:
`TObject`
| <- | `TGObject`
| <- | `TGWindow`
`TQObject`
| <- | `TGFrame`
`TGWidget`
| <- | `TGButton`
| <- | `TGTextButton`
| <- | `TGCheckButton`
| <- | `TGedSelect`
| <- | `TGedMarkerSelect` |

        protected:

          virtual void DoRedraw()

        public:

                              TGedMarkerSelect(const TGWindow* p, Style_t markerStyle, Int_t id)
                              TGedMarkerSelect(const TGedMarkerSelect&)
                      virtual ~TGedMarkerSelect()
               static TClass* Class()
          virtual TGDimension GetDefaultSize() const
                      Style_t GetMarkerStyle() const
              virtual TClass* IsA() const
                 virtual void MarkerSelected(Style_t marker = 0)
               virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
                 virtual void SavePrimitive(ofstream& out, Option_t*)
                         void SetMarkerStyle(Style_t pattern)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

                   Style_t fMarkerStyle
          const TGPicture* fPicture

## Class Description

     TGedMarkerSelect, TGedMarkerPopup

     The TGedMarkerPopup is a popup containing buttons to
     select marker style.

     The TGedMarkerSelect widget is a button showing selected marker
     and a little down arrow. When clicked on the arrow the
     TGedMarkerPopup pops up.

     Selecting a marker in this widget will generate the event:
     kC_MARKERSEL, kMAR_SELCHANGED, widget id, style.

     and the signal:
     MarkerSelected(Style_t marker)

TGedMarkerSelect(const TGWindow *p, Style_t markerStyle, Int_t id) : TGedSelect(p, id)

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

void DoRedraw()

void SetMarkerStyle(Style_t markerStyle)

     Set marker.

void SavePrimitive(ofstream &out, Option_t *)

     Save the pattern select widget as a C++ statement(s) on output stream out

### Inline Functions

                        void ~TGedMarkerSelect()
                     Style_t GetMarkerStyle() const
                 TGDimension GetDefaultSize() const
                        void MarkerSelected(Style_t marker = 0)
                     TClass* Class()
                     TClass* IsA() const
                        void ShowMembers(TMemberInspector& insp, char* parent)
                        void Streamer(TBuffer& b)
                        void StreamerNVirtual(TBuffer& b)
            TGedMarkerSelect TGedMarkerSelect(const TGedMarkerSelect&)

Author: Marek Biskup, Ilka Antcheva 22/07/03
Last update: root/ged:$Name: $:$Id: TGedMarkerSelect.cxx,v 1.8 2005/05/14 00:19:58 rdm Exp $
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *