library: libGui #include "TGMenu.h"

# TGMenuEntry

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

## class TGMenuEntry : public TObject

| Inheritance Chart:

`TObject`

<-

`TGMenuEntry`

        public:

                              TGMenuEntry()
                              TGMenuEntry(const TGMenuEntry&)
                      virtual ~TGMenuEntry()
               static TClass* Class()
                        Int_t GetEntryId() const
          virtual const char* GetName() const
                 TGPopupMenu* GetPopup() const
                virtual Int_t GetStatus() const
               EMenuEntryType GetType() const
              virtual TClass* IsA() const
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

                     Int_t fEntryId   the entry id (used for event processing)
                     void* fUserData  pointer to user data structure
            EMenuEntryType fType      type of entry
                     Int_t fStatus    entry status (OR of EMenuEntryState)
                     Int_t fEx
                     Int_t fEy        position of entry
                    UInt_t fEw
                    UInt_t fEh        width and height of entry
              TGHotString* fLabel     menu entry label
          const TGPicture* fPic       menu entry icon
              TGPopupMenu* fPopup     pointer to popup menu (in case of cascading menus)

## Class Description

     TGMenuBar, TGPopupMenu, TGMenuTitle and TGMenuEntry

     This header contains all different menu classes.

     Selecting a menu item will generate the event:
     kC_COMMAND, kCM_MENU, menu id, user data.

### Inline Functions

                      void ~TGMenuEntry()
               TGMenuEntry TGMenuEntry()
                     Int_t GetEntryId() const
               const char* GetName() const
                     Int_t GetStatus() const
            EMenuEntryType GetType() const
              TGPopupMenu* GetPopup() const
                   TClass* Class()
                   TClass* IsA() const
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)
               TGMenuEntry TGMenuEntry(const TGMenuEntry&)

Author: Fons Rademakers 09/01/98
Last update: root/gui:$Name: $:$Id: TGMenu.h,v 1.25 2004/07/08 10:19:36 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *