|
Smalltalk/X WebserverDocumentation of class 'MenuEvent': |
|
|
Class: MenuEventInheritance:Object | +--Message | +--MessageSend | +--Event | +--WindowEvent | +--WidgetEvent | +--MenuEvent | +--MenuEvent::MenuEnterItemEvent | +--MenuEvent::MenuHideEvent | +--MenuEvent::MenuLeaveItemEvent | +--MenuEvent::MenuSelectItemEvent | +--MenuEvent::MenuShowEvent
Description:
Internal menu events.
These have been added very lately to support capture & replay inside st/x applications.
They are used internally within a menu-widget instead of direct message sends, thus
allowing interception and synthetization.
Due to some historic leftover, there are two mechanisms for menus:
1) the (very) old MenuView (which inherits from SelectionInListView)
2) the new MenuPanel.
The menuView uses simple text and values and it is basically index-based.
The menuPanel uses instances of MenuItem which contain the action information.
The menuView should go away, as soon as someone finds time to convert all leftover uses
of it in the system (mostly popupMenus in text views).
Class protocol:instance creation
Instance protocol:accessing
Private classes:
MenuEnterItemEvent
MenuHideEvent
MenuLeaveItemEvent
MenuSelectItemEvent
MenuShowEvent
|
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 10:16:53 GMT
|