[Mono-list] Change Cursor in Gtk.Window

Austin Winstanley austin at tradelogic.com
Tue Aug 28 03:01:17 EDT 2007

Coming from Windows Forms, it was easy to change a cursor.

this.Cursor = Cursors.WaitCursor;
this.Cursor = Cursors.Default;

I am having a lot of trouble trying to figure out how to do this in a Gtk
Window. I have searched google and looked through the documentation and seen
that the Gtk.Window class doesn't have a Cursor associated with it. The
closest I found was:

this.GdkWindow.Cursor = new Gdk.Cursor(Gdk.CursorType.Watch)

But that doesnt help me because I'm using a Gtk.Window.

How can I do this? Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070828/e20ad076/attachment.html 

More information about the Mono-list mailing list