[Q][morphic] how to mimick a mouseHover event

Ned Konz ned at bike-nomad.com
Tue May 7 17:15:02 UTC 2002


On Friday 03 May 2002 02:25 pm, Martin Drautzburg wrote:
> The menus in some Toolkits expand their submenus either on a click
> or when the mouse hovers over the parent for a while.
>
> How would I do this in morphic if there is no "on:mouseHover
> send:to:". Whould I use an Alarm as in Ballon help ?

You sure can. Just set an alarm on mouseEnter, and see if the mouse is 
still over the item when the alarm fires.
-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list