Re: How to add a callback that can be called whenever the event loop calls an event handler?
- From: Gang Chen <gang chen cn gmail com>
- To: "Jasper St. Pierre" <jstpierre mecheye net>
- Cc: gtk-list <gtk-list gnome org>, Paul Davis <paul linuxaudiosystems com>
- Subject: Re: How to add a callback that can be called whenever the event loop calls an event handler?
- Date: Wed, 23 Jul 2014 23:52:59 +0800
The function checks the state of the application and does something accordingly. Because any code in an event handler may potentially change the state of the application, a quick method is adding the function as the "after" handler for every event.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]