I’m building an application where I would like to hide certain buttons in my header bar based on the page the user is currently focused on. I need a way to capture a signal when a user switches pages but all I have found thus far is GObject::notify which did not give me what I was looking for.