For the About window, try connecting "delete_event" and "destroy_event" to
a window.hide() function that returns gtk.TRUE.  That way the window won't
get deallocated when dismissed.

Rick


On Sat, 16 Jun 2001, Niklas Saers Mailinglistaccount wrote:

> Hi, about ten days I asked the question under which I assume is fairly
> trivial to most people in this list. Therefore, ten days later I'm quite
> confused about not having a single answer back. Is this the wrong list to
> ask these kinds of questions? If so, would anyone be so kind as to tell me
> what list I should go to instead?
>
> Cheers
>
>   Nik
>
> ----
>
> Hi all. I've made a nice little thingy with Glade, and connected the
> About menu to a function that does a self.about.show() (I've attached the
> about widget to self.about earlier) and it shows just fine. Then I close
> it and open it again, and I get the following error message. Can anyone
> tell me why I get this and what I am doing wrong?
>
>
> Gtk-CRITICAL **: file gtkstyle.c: line 513 (gtk_style_attach): assertion
> `style != NULL' failed.
>
> Gtk-CRITICAL **: file gtkstyle.c: line 1134 (gtk_style_set_background):
> assertion `style != NULL' failed.
>
> Gtk-CRITICAL **: file gtkstyle.c: line 3613 (gtk_paint_flat_box):
> assertion `style != NULL' failed.
>
> Gtk-CRITICAL **: file gtkcontainer.c: line 739
> (gtk_container_dequeue_resize_handler): assertion
> `GTK_CONTAINER_RESIZE_PENDING (container)' failed.
>
> Cheers
>
>   Niklas Saers

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to