[cells-devel] Cello: ^mouse-over-p not firing ...

Frank Goenninger frgo at mac.com
Tue Sep 4 18:50:17 UTC 2007


Am 04.09.2007 um 20:32 schrieb Ken Tilton:

> Frank Goenninger wrote:
>> Hi Kenny,
>> once again a question concerning Cello:
>> I'd like to know when the mouse pointer is over a certain Cello   
>> Widget to do things like changing a button's text color or  
>> displaying  tooltips or ...
>> I searched Cello code and found ^mouse-over-p to be coded as part  
>> of  the mouse-view-tracker model. The class is part of the  
>> superclasses  of ix-togl of which gnc-togl is derived.  
>> Unfortunately the mouse-over- p slot always indicates only the  
>> "top1" instance to be the object  where the mouse pointer is (all  
>> this in flle ix-togl.lisp).
>> The code calls find-ix-under and mouseview-control indicating  
>> that  the widget's class has to have the control class in its  
>> superclass  list ...
>> So, question is: How to actually detect that a certain object has  
>> the  mouse pointer over it?
>> If you still can remember  ... ;-)
>
> No, but a little searching suggests mouse-over? has replaced mouse- 
> over-p. Check that out and lemme know if it helps.
>
> kt

Really? Then you have newer source Cello than I do ... ;-) Must have  
been something you did after the last CVS push ...
I can't find any mouse-over? in any Cello or Celtk code over here.

I am digging deeper ...

Thx!

Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cells-devel/attachments/20070904/8a6e92ea/attachment.sig>


More information about the cells-devel mailing list