A abstract class representing an entry in a menu.
![]() | PMenuEntry ( PSubMenu & menu, PMenuEntry * before ) Create a menu entry. |
![]() | ~PMenuEntry () Destroy the menu entry. |
![]() | Compare ( const PObject & obj ) const Determine if the two menu entry objects are the "same". |
![]() | SetString ( const PString & str ) Set the string name of the menu entry. |
![]() | GetString () const Get the current string name of the menu entry. |
![]() | GetMenu () const Get the menu this entry is contained in. |
![]() | GetRootMenu () const Get the top most menu of the tree of sub-menus that the entry is contained in. |
![]() | GetPosition () const Get the position in the menu of this entry. |
![]() | IsMenuItemCheckGroup (const PMenuItem & groupItem) const Determine if the menu entry is in a menu item check group. |
![]() | Overrides from PObject |
![]() | New functions for class |
![]() | itsMenu The menu that this entry is contained in. |
Run Time Type functions
Comparison functions
I/O functions
Miscellaneous functions
A abstract class representing an entry in a menu. A menu entry may be a menu item that may be selected by the user, a menu separator or a sub-menu of more menu entries.
This function is used internally by the library. It would normally not
be called directly.
virtual ~PMenuEntry()
Overrides from PObject
virtual Comparison Compare( const PObject & obj ) const
New functions for class
virtual void SetString( const PString & str )
virtual PString GetString() const
PSubMenu* GetMenu() const
PRootMenu* GetRootMenu() const
PINDEX GetPosition() const
virtual BOOL IsMenuItemCheckGroup(const PMenuItem & groupItem) const
PMenuEntry()
virtual void UpdateMyCommandSources()
Alphabetic index HTML hierarchy of classes or Java