[MonoDevelop] How to Change the Mouse Cursor?

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Sep 9 11:22:11 EDT 2007


On 9/9/07, Jacek Ruzyczka <ruzyczka at versanet.de> wrote:
> Hi folks,
>
> I am now in the troublesome situation to use custom cursors in my application.
> I have already found out that I need to use the Gdk.Cursor and Gdk.CursorType
> class...but how shall I get the cursor instance associated with my
> application resp. window conveniently? Even if there's no way to do this in
> MD directly, there should be some "hand-coded" .NET solution available.
> The "default solution", however (see:
> http://www.geekpedia.com/Question37_How-do-I-change-the-mouse-cursor-to-a-hourglass.html),
> turned out to be unusable in Mono & Gtk#. :-(
>
> All useful hints are appreciated.

In general any GTK techniques should map to GTK#. Maybe
http://www.kksou.com/php-gtk2/articles/change-cursor-over-clickable-GtkLabel---Part-1-(using-pre-defined-cursors).php
helps?

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list