Re: RE : Re: Why does my cursor doesn't change
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-perl-list gnome org
- Subject: Re: RE : Re: Why does my cursor doesn't change
- Date: Tue, 03 Apr 2007 17:46:05 +0100
hi;
On Tue, 2007-04-03 at 11:36 -0500, Kenneth Swanson wrote:
Emmanuele Bassi wrote:
and here's the entry:
http://live.gnome.org/GTK2-Perl/FrequentlyAskedQuestions#head-a5b0807f1d7354a7c294930ebaa40e991d551dc9
should add nice anchors for some of the entries...
Are we not telling people the other, quick 'n' dirty way to get around
this? That is, that if you have a long block of code in a callback or
some other code, you can add the line
Gtk2->main_iteration while(Gtk2->events_pending);
to get the GUI to update? Or does that not work correctly anymore?
it's not the "kosher" solution: forcing the main loop to spin it's an
hack, and masks the real problem - that is: you are blocking the main
loop when you really should not do such thing.
also, idle and a timeout sources are not really events, so the functions
are even misleading in their names.
/me would really like for those two functions to be private to GTK+, but
sometimes kludges sift through.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]