Hi. I was wondering if anybody could confirm that I'm using the correct
technique to get a widget's parent container (and not necessarily it's
direct container).
My attempt (using get_ancestor()) segfaults if the widget isn't in a
container of the correct type. See below.
Admittedly, I'm
Graham Ashton wrote:
Hi. I was wondering if anybody could confirm that I'm using the correct
technique to get a widget's parent container (and not necessarily it's
direct container).
My attempt (using get_ancestor()) segfaults if the widget isn't in a
container of the correct type. See below.