opens a basic frame (empty) with following errors (wxruby:17165): Gtk-WARNING **: Attempting to add a widget with type GtkPizza to a GtkWindow, but as a GtkBin subclass a GtkWindow can only contain one widget at a time; it already contains a widget of type GtkPizza (wxruby:17165): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)'' failed (wxruby:17165): Gtk-CRITICAL **: gtk_paint_flat_box: assertion `style->depth == gdk_drawable_get_depth (window)'' failed (wxruby:17165): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)'' failed (wxruby:17165): Gtk-CRITICAL **: gtk_paint_flat_box: assertion `style->depth == gdk_drawable_get_depth (window)'' failed does this from the ide and from a terminal session. Can''t seem to fix this one.
Hi richard richard alexander wrote:> opens a basic frame (empty) with following errors > (wxruby:17165): Gtk-WARNING **: Attempting to add a widget with type > GtkPizza to a GtkWindow, but as a GtkBin subclass a GtkWindow can only > contain one widget at a time; it already contains a widget of type > GtkPizza >Thanks for the report. Dunno what all this Pizza stuff is but it makes me hungry. I think this error with the Listbook sample on Linux has come up before, so it''s very likely a reopened bug in wxruby2. I don''t have a Linux box handy but will look into it when I do. Are you using 0.0.39 - let us know if not. cheers alex
This sample has never worked correctly in Linux, I wrote it way back using DialogBlocks to generate the XRC interface. It has always worked fine on OS X and Windows but nobody has figured out why it does not work on Linux. I think it is probably an XRC issue, it is a pretty silly sample anyway you are not missing much. Sean