Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 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-dialogs, funcall-menu-item-with-rich-edit may also be used.


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version