Re: How to add a callback that will be called each time when the event queue becomes empty
- From: richard boaz <ivor boaz gmail com>
- To: Gang Chen <gang chen cn gmail com>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: How to add a callback that will be called each time when the event queue becomes empty
- Date: Fri, 19 Jul 2013 18:53:14 -0500
hi gang,
so you are aware of every state change then...
back when (2010), i provided a solution for this problem that gets around having to write tons of code for each state change. you can find my comment and code posting in the thread here:
and i packaged this up into a full-fledged library that you can also find here:
while i agree that many states + many changes can make for too much annoying code writing (hence the solution i found for myself and previously posted), i'm also of the opinion that doing it your way is too passive and will lead to other unforeseen problems, both at the design and implementation levels.
richard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]