Re: [gtk-list] Bug in scrollable text widget (& Glade)



Anders Melchiorsen wrote:
> 
> 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?

I think there may be problems in both GTK+ and Glade.

Glade isn't currently designed to handle large amounts of text - it puts it
all in one literal string in the source code, which may be too large for some
compilers. (ANSI specifies 509 char maximum, though many compilers allow
more.)
It is probably better, for now, to add the text yourself after creating the
window/dialog.

However, the problem you are seeing doesn't seem to be related to this.
GtkText does still have a few problems, so I wouldn't be surprised if this
was one of them.

Damon




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