[squeak-dev] About customizing Squeak -> custom world menu?

H. Hirzel hannes.hirzel at gmail.com
Sat Feb 24 12:15:30 UTC 2018


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
>>
>


More information about the Squeak-dev mailing list