Hi, I have a julia program that uses gtk builder to create a gui from a glade file. The gui contains a stack widget that contains a filechooserwidget and a drawingarea.
A stack is a container widget that displays only one of its children at a time, and has a property called "visible-child" that determines which child is visible. The ui has an 'open' togglebutton on top that should switch between the filechooserwidget and the drawingarea. However, it crashes julia instead. Here's my code (paste to REPL for testing): http://pastebin.com/embed_iframe.php?i=Ub9y8puE The Glade file containing the ui: http://pastebin.com/embed_iframe.php?i=DSWLkG84 and the error i get when clicking the button: http://pastebin.com/raw.php?i=4bnZuYWE The weird thing ist, the command that seems to be causing the segfault is the Gtk.setproperty!(stack, "visible-child",filechooserwidget) inside the signal handler. However, when I run the exact same command manually on REPL, it displays the filechooserwidget as it is supposed to. Is this a bug in my code or in Gtk.jl? I'd appreciate any hints on how to fix this or debug it further :) Thanks and regards :) fq
