Detect change with stack/ stackswitcher



Hi,

I have added a stackswitcher to the headerbar, and I also have few
more button on the header bar. Depending on the stack which user
selected, I'd like to make changes to the headerbar. I cant seem to
find a way to do it.

I've seen a question in SO[1] which asks exactly the same question,
but my callback does not get triggered by connecting to
"notify::visible-child" as mentioned in there. Neither do I get any
warning telling the absence of such a signal I'm connecting to.

What is the trick to achieve this ?



[1]:http://stackoverflow.com/questions/29182792/how-to-detect-the-change-of-a-gtkstack-or-gtkstackswitcher

-- 

Thanks and Regards,
Aurabindo J


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