McCLIM
McCLIM copied to clipboard
Menu and application-frame
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.