Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## funcall-menu-item-with-window

Arguments: menu menu-item window-or-screen

Funcalls the value of the menu-item with the window on which the menu was invoked (window-or-screen) as the single argument. If the window is a `frame-with-single-child` window, then the child pane is passed instead. Here is the definition of funcall-menu-item-with-window:

    (defmethod funcall-menu-item-with-window
                 ((menu menu)(menu-item menu-item) window-or-screen)
      (funcall (value menu-item)
               (or (frame-child stream) window-or-screen)))

This function and funcall-menu-item are typical values of the on-click property of a menu. On `rich-edit-dialog`s, funcall-menu-item-with-rich-edit may also be used.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version