GTK Label for large text

I’m working on text browser and found that Label widget is extremely slow for large text.

As understand, people use text editor widgets in read-only mode, because it allows to operate with partial stream buffer.

But anyway, what do you think about that? I see no alternatives from the box. Maybe some articles about this subject or any solutions available by third parties.

Hi,

Yes, GtkLabel is designed for short texts only.

GtkTextView is what Gtk provides for long texts.

If neither GtkLabel or GtkTextView cover your needs, then you require some highly specialized widget that probably doesn’t exist out there.

1 Like