Source file textmenuitem.icn |
# $Id: textmenuitem.icn,v 1.1 2003-05-31 06:09:04 jeffery Exp $ ## # This class encapsulates a single text item in a Menu. It # has no additional methods which the user need call other # than are contained in its parent class, MenuComponent. # class TextMenuItem : MenuComponent() # # Event to return if item selected. # method select_event(e) return MenuEvent(SUCCEED, e, self, 0) end end