How can i call a function whenever my gtkmm app looses or regains focus?
Thanks.
Connect handlers to the window's focus-in-event and focus-out-event.