[Gambas-user] How do you hide the mouse cursor in GTK?

Benoît Minisini gambas at ...1...
Tue Feb 8 02:49:58 CET 2011


> This works in Qt but not GTK:   FMain.mouse = 10
> 
> I've played around with an invisible cursor theme and it worked, but
> that won't allow me to easily switch between visible and invisible.
> 

The bug has been fixed in revision #3548.

** BUT **

Beware that you must use the constants of the Mouse class, not numbers, to 
define a widget cursor. Because these values are not the same in Qt and in 
GTK+.

Regards,

-- 
Benoît Minisini




More information about the User mailing list