[Gambas-user] Custom mouse cursor
Benoît Minisini
gambas at ...1...
Wed Jun 3 01:45:09 CEST 2009
> Other old issue...
> I don't know how I missed that documentation earlier...
> But I still have issues with custom cursors.
> What are supported picture formats? Or what I'm doing wrong?
> My code:
>
> Public aa As New Cursor(Picture.Load("test.png"))
>
> DrawingArea1.Mouse = Mouse.Custom
> DrawingArea1.Cursor = aa
>
> Or;
>
> DrawingArea1.Cursor = New Cursor(Picture.Load("test.png"))
>
> Tried with many different formats.
> With GTK+ signal 11, with Qt only buggy black&white picture.
>
>
> Regards,
> Jussi
>
Hi,
The bug has been fixed in revision #1994. And yes, you are right, Qt 3 only
supports black & white cursors, whereas GTK+ supports color cursors.
Regards,
--
Benoît
More information about the User
mailing list