Hi martin

I do not know. The menu part is not really good.

Stef

On Fri, 10 Mar 2017 00:03:27 +0100, Martin Dias <[email protected]> wrote:

Is it known that Spec models ignore menu shortcuts? at least some of them, TreeModel and FastTableModel. Example:


| example |
example := FastTableModel new.
example
        items: (1 to: 10);
        menu: [
                | aMenu |
                aMenu := MenuModel new.
                aMenu addGroup: [ :aGroup |
                        aGroup addItem: [ :anItem |                             
anItem
                                        name: 'Halt';
                                        shortcut: $h command;
                                        action: [ 1halt ] ] ].
                aMenu buildWithSpecAsPopup ];
        openWithSpec.


This is latest Pharo 6.

Cheers,
Martín



--
Using Opera's mail client: http://www.opera.com/mail/

Reply via email to