CustomViewAction:
Filter:
Classes | GUI

CustomViewAction

A MenuAction that can contain a View.
Location: NOT INSTALLED!

Description

A CustomViewAction is a MenuAction that contains a View instead of an icon or text. This enables embedding of interactive components to a Menu or ToolBar.

Class Methods

.new

Create a new CustomViewAction

Arguments:

A View.

A Function to execute when this item is selected.

NOTE: In some cases, the View that the CustomViewAction contains will absorb mouse clicks, making it difficult to select this menu item (and thus trigger the action).

Inherited class methods

Instance Methods

.defaultView

Set the View that is attached to this CustomViewAction.

Arguments:

A View.

Inherited instance methods