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 11:45:04 -0500
let's step back one second.
your description implies that it is not possible for your UI to be directly aware of the events that require follow-on updates to the UI's widgets.
but i don't understand this. can you explain a little more how/why this makes sense on a design level? what exactly happens that means the UI widget states are out-of-date and need to be updated?
ideally, your UI should be aware of any state changes requiring a widget update, these being either internal or external in origin. and then once a state change occurs, invoke your widget updates accordingly.
richard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]