library: libGui #include "TGMenu.h" |
TGMenuEntry
class description - source file - inheritance tree (.pdf)
public:
TGMenuEntry()
TGMenuEntry(const TGMenuEntry&)
virtual ~TGMenuEntry()
static TClass* Class()
Int_t GetEntryId() const
TGHotString* GetLabel() 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)
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)
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
TGHotString* GetLabel() 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.28 2005/08/16 10:44:39 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - 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.