invoke

(#<widget> 'invoke index)
Invoke the action of the menu entry.

See the sections on the individual entries above for details on what happens.

If the menu entry is disabled then nothing happens.

If the entry has a command associated with it then the result of that command is returned as the result of the invoke widget command.

Otherwise the result is an empty string.

Note: invoking a menu entry does not automatically unpost the menu; the default bindings normally take care of this before invoking the invoke widget command.


© Author | Home | Sitemap