Thanks for the worldMenu pragma explanation - I wondered about that
one but not enough to really look into that one yet :)

So for the Brower, Browser>>#messageListMenu: aMenu shifted: shifted
is the right place to alter the method name context menu - right?

Regards,
Markus


2011/5/6 Mariano Martinez Peck <[email protected]>:
> Ramon, I think he is asking about BROWSER menus, that is, extending OB
> context menu ;)
>
> On Thu, May 5, 2011 at 11:59 PM, Ramon Leon <[email protected]>
> wrote:
>>
>> On 05/05/2011 01:45 PM, Markus Fritsche wrote:
>>>
>>> Hello list,
>>>
>>> I was searching for the right (sustainable) way to extend the browser
>>> menu. I searched for the menu labels (show "methods with strings in
>>> it" etc.) but couldn't find it, so there must be another hook. Could
>>> anyone give me quick pointer?
>>>
>>> TIA,
>>> Markus
>>
>> myMenuCommandOn: aBuilder
>>    <worldMenu>
>>    aBuilder item: #MyStuff
>>
>> myFullScreenMenuCommandOn: aBuilder
>>    <worldMenu>
>>    (aBuilder item: #'Full Screen')
>>        parent: #MyStuff;
>>        action: [ DisplayScreen new toggleFullScreen ]
>>
>> Of course, #parent: could also point at an existing menu if you're just
>> adding to what's already there.  Doesn't matter where you put these, they're
>> found by the <worldMenu> pragma.
>>
>> --
>> Ramon Leon
>> http://onsmalltalk.com
>>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>

Reply via email to