TGMenuEntry


class description - source file - inheritance tree

class TGMenuEntry : public TObject


    public:
TGMenuEntry TGMenuEntry() TGMenuEntry TGMenuEntry(const TGMenuEntry&) virtual void ~TGMenuEntry() static TClass* Class() Int_t GetEntryId() const virtual const char* GetName() 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


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


Author: Fons Rademakers 09/01/98
Last update: root/gui:$Name: $:$Id: TGMenu.h,v 1.14 2003/03/15 14:19:38 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.