Re: How to add a callback that can be called whenever the event loop calls an event handler?

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

 



Why, though? Why do you need this?


On Tue, Jul 22, 2014 at 9:40 PM, Gang Chen <gang.chen.cn@xxxxxxxxx> wrote:
Yes, I need an "after" handler for every event. We can think it is called at the bottom of all event handlers. The function should be called not only after my own event handlers but also the widgets' event handlers.


2014-07-22 22:17 GMT+08:00 Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx>:




On Tue, Jul 22, 2014 at 8:55 AM, Jasper St. Pierre <jstpierre@xxxxxxxxxxx> wrote:
Call the function at the bottom of all your event handlers?

I'd need more detail about your specific case in order to help you further.

I think he wants the equivalent of an "after" handler for "event". If he wanted a "before" handler for "event", I believe that already works (it does in GTK+2, anyway)






--
  Jasper
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux