On 26/09/2015 05:18 μμ, Norbert Schröder wrote:
> Hi,
>
> I have never done that before, but you could try and listen for
> "mouseover"/"mouseout" events and use addState("hovered") and
> removeState("hovered"), respectively, in order to toggle your widget's
> appearance.
>
> Cheers,
>
>     Norbert
>
>

Thanks. I just tried that and it works. Maybe it was a misconception 
from my part but I thought that states were set automatically by the 
framework somehow. Also I found the source for qx.ui.form.Button and 
this exactly how it does it.

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to