ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> squeak
squeak
Re: Identifying hardware Hand
by Bob Arning other posts by this author
May 2 2001 8:46PM messages near this date
Re: Q: Is the time stamp for an morphic event set by OS? | Identifying hardware Hand
On Wed, 2 May 2001 08:18:12 -0400 (EDT) Jesse Welton <jwelton@[...].edu>  wrote:

> Is there a reliable method for identifying whether a given Hand is

> following the hardware Cursor?  I've identified two possibilities:

> 

> HandMorph>>needsToBeDrawn can only be false for the hardware Hand, but

> this can give a false negative (on a return value of true).

> 

> It might work to test 'aHand class == HandMorph', since there are

> HandMorph subclasses for all other Hands I'm aware of, but I'm not

> sure.  Is a direct instance of HandMorph guaranteed to be following

> the hardware Cursor?


Jesse,

The latter would work since HandMorph> >processEvents gets its events from the hardware/OS. A
ll the other subclasses get their events from some other source.

Cheers,
Bob


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved