[..]
> Do you have any code you can show?
>
> On Wednesday 24 January 2001 2:46 pm, [EMAIL PROTECTED] wrote:
> > In my application, I'm finding that the program crashes regularly when I
> > select text. The symptoms are: the *first* selection works. The *second*
> > selection causes a crash (Gnome dialogue box) when I lift the mouse button
> > from the drag. I get this message on the console:
> >
> > Gdk-CRITICAL **: file gdkwindow.c: line 1390 (gdk_window_get_size):
> > assertion `window != NULL' failed.
Unfortunately, no. The text box this occurs in is intrinsic to my entire
application and is rather difficult to strip out. This particular text box is
set non-editable and has no signals attached to it, so I don't know why
selecting text would cause problems like this.
Additional data point: From experimentation, I suspect that this only happens
if:
(a) I select text in said text box
(b) Without deselecting the text, I destroy the text box and recreate it
(c) I select some more text
GTK only deselects the old selection when you *finish* selecting the new text,
right? So it might be trying to access the old (destroyed) text box to tell it
to remove the selection? That would fit the symptoms.
--
+- David Given ---------------McQ-+ Q. How much wood would a woodchuck chuck
| Work: [EMAIL PROTECTED] | if a woodchuck could chuck wood?
| Play: [EMAIL PROTECTED] | A. A woodchuck that could chuck wood would
+- http://wired.st-and.ac.uk/~dg -+ chuck as much wood as a woodchuck would.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk