Hi all, I have a conceptual doubt. Suppose widget A houses widget B which hereby houses widget C. Can I associate same strings "changed", "updated" etc.. with individual signals of each widget A,B,C. Also, when I emit a "changed" signal will all three widgets execute their call backs ? Because A <-- B <--- C ( A <--- B means A contains B) and so C when emits "changed" should call callbacks of A and B ?
2013/9/20 Arshdeep Singh <moduli16@...400...>:
Hi all, I have a conceptual doubt. Suppose widget A houses widget B which hereby houses widget C. Can I associate same strings "changed", "updated" etc.. with individual signals of each widget A,B,C. Also, when I emit a "changed" signal will all three widgets execute their call backs ? Because A <-- B <--- C ( A <--- B means A contains B) and so C when emits "changed" should call callbacks of A and B
If these are custom signals which you've defined yourself, then the emitted signal will only execute callbacks which are bound to it. There is no automatic "bubbling" up the widget tree.
If these are signals provided by GTK, you should check the GTK documentation to see what the behavior is.
Regards, Krzysztof
participants (2)
-
Arshdeep Singh
-
Krzysztof Kosiński