0

Apart from GTextView being multiline and able to display text in different styles (font, color etc. using tags), what are other obvious differences between the two?

Johan Dahlin
  • 25,300
  • 6
  • 40
  • 55
Aaron S
  • 5,023
  • 4
  • 29
  • 30

2 Answers2

3

Both GtkEntry and GtkTextView can be multiline.

GtkTextView can in addition:

  • Does not store any data, it uses GtkTextBuffer for that
  • Several GtkTextView widgets can display the same content
  • Be serialized to disk as RTF
  • Contain other GtkWidgets
  • Support advanced buffer manipulation through the GtkTextBuffer api
Johan Dahlin
  • 25,300
  • 6
  • 40
  • 55
0

I think those are the big differences. They are meant to accomplish different tasks.

Federico klez Culloca
  • 26,308
  • 17
  • 56
  • 95