I want to give the thanks to Alain, for the excellent work on
PragmaMenuBuilder!
Making menus is elegant and straightforward this way!
I post here how i'm using them:
MyMorph>>mouseDown: aMouseEvent
aMouseEvent redButtonPressed ifTrue:[ self click: aMouseEvent ].
aMouseEvent yello
he he he.
thanks Fernando.
and really really happy that you find it useful.
but is see maybe an issue here. It concerns the pragma keyword.
It is currently a global keyword.
Maybe one should also allow a way to specify where the pragma are to be
collected.
maybe something like:
MyMorph>>menuBu
On Feb 17, 2011, at 9:51 47PM, Alain Plantec wrote:
> he he he.
> thanks Fernando.
> and really really happy that you find it useful.
>
> but is see maybe an issue here. It concerns the pragma keyword.
> It is currently a global keyword.
> Maybe one should also allow a way to specify where the pr
On Fri, Feb 18, 2011 at 10:40 AM, Henrik Johansen
wrote:
> On Feb 17, 2011, at 9:51 47PM, Alain Plantec wrote:
>
>> he he he.
>> thanks Fernando.
>> and really really happy that you find it useful.
>>
>> but is see maybe an issue here. It concerns the pragma keyword.
>> It is currently a global ke
On Feb 18, 2011, at 11:31 48AM, Fernando Olivero wrote:
> On Fri, Feb 18, 2011 at 10:40 AM, Henrik Johansen
> wrote:
>> On Feb 17, 2011, at 9:51 47PM, Alain Plantec wrote:
>>
>>> he he he.
>>> thanks Fernando.
>>> and really really happy that you find it useful.
>>>
>>> but is see maybe an iss
Le 18/02/2011 10:40, Henrik Johansen a écrit :
Yes, searching the class only would be a good idea, I'd almost consider making
it the default and rename #pragmaKeyword: to #globalPragmaKeyword:.
yes, I will do it.
It's faster, and in most cases it does what you need, also in the case where
you
exactly.
We have to specify where to search for the pragmas in order
to be able to use the same menu pragma keyword in different contexts.
I can't dig into it now but this is the idea.
Cheers
Alain
Le 18/02/2011 11:41, Henrik Johansen a écrit :
If I understood him correctly, essentially, you lim