Re: [Gtk-osx-users] Segmentation fault accessing widget props

On 1/12/2010, at 2:14 PM, Richard Procter wrote:

> Hi everyone, 
> I've been looking into why my app segfaults with the latest GTK/PyGTK binaries and have whittled it down to this minimal fragment: 
> import gtk
> w = gtk.Window() 
> w.props.visible 
> This isn't limited to the gtk.Window's visible property: accessing the label property of a gtk.MenuItem breaks just as well.
> Replacing the last line with w.get_property('visible') eliminates the fault.
> I've reproduced this over a couple of builds on different machines but it seems so basic that I'd appreciate it if someone could confirm it for me. 

Note that I also observe it with otherwise unchanged libraries under python 2.6.1 10.6/intel. 


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