[squeak-dev] About customizing Squeak -> Preferences personalizedWorldMenu

Bob Arning arning315 at comcast.net
Sat Feb 24 17:19:46 UTC 2018


It's only referenced from #yellowButtonClickOnDesktopWithEvent:. You 
would need to connect that to a regular click one way or another. 
Perhaps like:

putUpWorldMenu: evt
     "Put up a menu in response to a click on the desktop, triggered by 
evt."

     | menu |
     self bringTopmostsToFront.
     evt isMouse ifTrue:
         [evt yellowButtonPressed
             ifTrue: [^ self yellowButtonClickOnDesktopWithEvent: evt].
         evt shiftPressed ifTrue:[^ self findWindow: evt]].
*Preferences personalizedWorldMenu**
**        ifTrue: [^ self yellowButtonClickOnDesktopWithEvent: evt].*
     "put up screen menu"
     menu := self buildWorldMenu: evt.
     menu addTitle: Preferences desktopMenuTitle translated.
     menu popUpEvent: evt in: self.
     ^ menu

On 2/24/18 11:56 AM, H. Hirzel wrote:
> Hello
>
> A note:
>
> The other thread 'About customizing Squeak -> custom world menu' is
> about customizing the left click desktop menu.
>
> But there is also the option of getting a personalized right button click menu.
> Squeak 3.8.1 (see screenshot) has an entry 'personalize ...' in the
> right-click menu.
>
> Since Squeak 4.4 (maybe earlier) this is no longer available.
>
> Still available are
>
>       Preferences personalizedWorldMenu
>
> and
>
>       Preferences personalizeUserMenu: aMenu
>
>
> But setting the preference
>
>      personalizedWorldMenu
>
> to 'enabled' has no effect.
>
> I wonder how to activate it.
>
> Regards
>
> Hannes
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180224/df7c353a/attachment.html>


More information about the Squeak-dev mailing list