[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] circle bounded widget
From: |
taurus |
Subject: |
Re: [paragui-users] circle bounded widget |
Date: |
Mon, 9 Dec 2002 10:33:35 +0000 |
Hello Holger,
Sunday, December 08, 2002, 01:46:46, you wrote:
HS> I need a widget in form of a circle which changes its image when you
HS> move your mouse over it. The problem is that PG_Widget is in fact a
HS> rectangle and not circle bounded. Therefore the widget already changes
HS> when you move your mouse in the rectangle region although it should not!
HS> My idea to inherit from PG_Widget class and overwrite the AcceptEvent is
HS> not practible because there I need access to my_internaldata.
HS> Unfortunately it is private in PG_Widget and not accessible in an
HS> inherited class.
HS> Do you know a solution to my problem?
Check eventMouseMotion() event handler, where your will check the
coordinates by mask or formula and change your widget status.
Kind regards,
taurus
address@hidden
->> "If you will have a megaphone, you will never have to be alone..."