Re: Change mouse pointer to hourglass?

Ross McFarland wrote:

perhaps you should do clear the event queue before beginning your

# change cursor
Gtk2->main_iteration while (Gtk2->events_pending);
# do work
# change cursor back

depending on what's going on the above may ensure your cursor change
happens before you being your processing rather than after it's done and
you make it into a main loop through natural means.
Excellent :)

Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
Title: CanIt Vote for ID 89616

The following links have been inserted by the NUS Consulting internal spam filter and are for NUS Consulting staff only
Not spam
Forget previous vote

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]