Natural Docs Version 1.0 |
NaturalDocs:: Menu:: EntryA class representing an entry in the menu. Summary
MembersThe object is implemented as a blessed arrayref with the indexes below.
New
Creates and returns a new object. Parameters
SetFlags
Replaces the Menu Entry Flags. Type
Returns the type of the entry. Will be one of the Menu Entry Types. Flags
Returns the Menu Entry Flags. Group FunctionsAll of these functions assume the type is MENU_GROUP. Do not call any of these without checking Type() first. GroupContent
Returns an arrayref of NaturalDocs::Menu::Entry objects representing the contents of the group, or undef otherwise. This arrayref will always exist for MENU_GROUP’s and can be changed. GroupIsEmpty
If the type is MENU_GROUP, returns whether the group is empty. MarkEndOfOriginal
If the group doesn’t already have one, adds a MENU_ENDOFORIGINAL entry to the end and sets the MENU_GROUP_HASENDOFORIGINAL flag. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||