Re: [pygtk] Segfault with get_ancestor()

2002-09-20 Thread Andreas Degert
James Henstridge <[EMAIL PROTECTED]> writes: > 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 t

Re: [pygtk] Segfault with get_ancestor()

2002-09-20 Thread James Henstridge
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 bel

[pygtk] Segfault with get_ancestor()

2002-09-20 Thread Graham Ashton
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 slightl