[Q] Making a button immune to mouse clicks
David Salamon
david at myth.sdsu.edu
Sat Apr 13 21:12:05 UTC 2002
On 4/13/02 1:07 PM, "Martin Drautzburg" <martin.drautzburg at web.de> wrote:
> I could subclass the Button and let handlesMouseDown: return false.
If you want an always dead SimpleButton, this is the way I would go.
If on the other hand, you want to switch between these states, I would add a
immuneToMouseClicks instance varriable, and return that from
#handlesMouseDown.
David Salamon
More information about the Squeak-dev
mailing list
|