Re: Bug in scrollable text widget




Anders Melchiorsen <and@kampsax.dtu.dk> writes:

> I have an editable text widget, placed in a scrollable window with
> automatic scrollbars. If I put too much (over 2000 bytes or so) text
> into the widget, I get the following warnings when I destroy window
> with the widgets.
> 
> The window is created using Glade and the GTK+ version is 1.1.15. Is
> this a bug in Glade, GTK+, or in my use of them?
 
My guess is that these warnings are occurring because you have
a Text widget inside a ScrolledWindow, something that hasn't
been tested much before, though it should work. 

When the window is destroyed the text widget is getting some sort 
of scroll notification, which is causing it to try and draw on itself
after it has been unrealized.

I'll take a look at this later today.

Regards,
                                        Owen



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