[squeak-dev] About customizing Squeak -> custom world menu?
Bob Arning
arning315 at comcast.net
Sat Feb 24 12:28:39 UTC 2018
or if #buildWorldMenu were not hardcoded
or if TheWorldMenu decided to query the project for an alternate method
all of which is easy enough for one to implement
On 2/24/18 7:15 AM, H. Hirzel wrote:
> P.S. 2
>
> The issue could be resolved easily if
>
> PasteUpMorph
> buildWorldMenu: evt
> ^(TheWorldMenu new
> world: self
> project: (self project ifNil: [Project current]) "mvc??"
> hand: evt hand) buildWorldMenu.
>
> would NOT have hard coded TheWorldMenu.
>
> On 2/24/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>> P.S. Ideally through a project preference
>>
>> http://wiki.squeak.org/squeak/704
>>
>> to be set individually for a particular project.
>>
>> On 2/24/18, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>> Hello
>>>
>>> The wiki page
>>> "Customizing the Squeak UI"
>>> http://wiki.squeak.org/squeak/1008
>>>
>>> refers to instructions how to create your custom world menu by referring
>>> to
>>> page
>>>
>>> "Subclassing MorphicProject, TheWorldMenu and PasteUpMorph"
>>> http://wiki.squeak.org/squeak/6461
>>>
>>> The instructions on that page work fine. Are there simpler ways to
>>> create a customized world menu and hook it up as a parameter to a
>>> MorphicProject?
>>>
>>> Regards
>>> Hannes
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180224/334d8ebc/attachment.html>
More information about the Squeak-dev
mailing list
|