TGMenuEntry


class description - source file - inheritance tree

class TGMenuEntry : public TObject


    public:
TGMenuEntry TGMenuEntry() TGMenuEntry TGMenuEntry(const TGMenuEntry&) virtual void ~TGMenuEntry() Int_t GetEntryId() const virtual const char* GetName() const virtual Int_t GetStatus() const EMenuEntryType GetType() const TGMenuEntry& operator=(const TGMenuEntry&)

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


                 Int_t GetEntryId() const
           const char* GetName() const
                 Int_t GetStatus() const
        EMenuEntryType GetType() const
           TGMenuEntry TGMenuEntry()
           TGMenuEntry TGMenuEntry(const TGMenuEntry&)
                  void ~TGMenuEntry()
          TGMenuEntry& operator=(const TGMenuEntry&)


Author: Fons Rademakers 09/01/98
Last update: root/gui:$Name: $:$Id: TGMenu.h,v 1.11 2002/07/13 16:38:06 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.