class PMenuSeparator: public PMenuEntry

A class representing a menu item separator.

Inheritance:


Public Methods

[more] PMenuSeparator ( PSubMenu & menu, PMenuEntry * before = NULL )
Create a single line menu separator as a menu entry in the menu.
[more]virtual void SetString ( const PString & str )
Set the string name of the menu entry.
[more]virtual PString GetString () const
Get the current string name of the menu entry.

Public

[more] New functions for class


Inherited from PMenuEntry:

Public Methods

ovirtual Comparison Compare( const PObject & obj ) const
oPSubMenu* GetMenu() const
oPRootMenu* GetRootMenu() const
oPINDEX GetPosition() const
ovirtual BOOL IsMenuItemCheckGroup(const PMenuItem & groupItem) const

Public

Overrides from PObject

Protected Fields

oPSubMenu* itsMenu

Protected Methods

ovirtual void UpdateMyCommandSources()


Inherited from PObject:

Public

Run Time Type functions

Comparison functions

I/O functions

Miscellaneous functions


Documentation

A class representing a menu item separator. This may be inserted into a menu to place a platform dependent separator between menu items.
o PMenuSeparator( PSubMenu & menu, PMenuEntry * before = NULL )
Create a single line menu separator as a menu entry in the menu.
Parameters:
menu - Menu into which the new entry is to be placed.
before - Menu entry before which the entry is to be inserted. If this is NULL then the menu entry is appended to the end of the menu.

o New functions for class

ovirtual void SetString( const PString & str )
Set the string name of the menu entry. This function does nothing.
Parameters:
str - New string for the menu entry.

ovirtual PString GetString() const
Get the current string name of the menu entry.

Returns:
empty string.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.