McCLIM icon indicating copy to clipboard operation
McCLIM copied to clipboard

Menu and application-frame

Open admich opened this issue 4 years ago • 0 comments

In McCLIM a menu isn't a full application-frame, but its implemented with menu-frame.

(pane-frame pane) where pane is a pane in the menu tree return not the menu frame but the main application frame. This gives some problem in layout protocol, for example (layout-frame (pane-frame pane)) where pane is a pane in the menu tree don't layout the menu but the main application.

Maybe its better to implement menu as a full application-frame (i.e. (define-application-frame (menu-frame) ....)) as done with dialogs. In this way will be possible also to add easly some keyboard navigation of the menu.

admich avatar Aug 10 '20 06:08 admich