Hi all,

<pygtk0.6.6, python2.0, win2k>

I would like to set a busy cursor during a lengthy calculation.  I have
discovered that I can do the following:

        ...
        win = self.get_window()
        cur = gtk.cursor_new(cursor_idx)
        win.set_cursor(cur)
        ...

where cursor_idx is one of the ones listed in GDK.py under GdkCursorTypes.
However, it doesn't set the cursor for everything (read child widgets), just
the widget (say the GtkWindow) on which it was called.  I would like to
cursor to stay the same over the entire window ... do I need to enumerate
all children of all widgets to make this happen?  Once I am done, how do I
restore the default windows cursor?  Finally, can I use the Windows busy
cursor (whatever the user has selected)?

Thanks,

Paul

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to