What are the differences between GtkEntry and GtkTextView?
-
24-09-2019 - |
Question
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?
Solution
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
GtkWidget
s - Support advanced buffer manipulation through the
GtkTextBuffer
api
OTHER TIPS
I think those are the big differences. They are meant to accomplish different tasks.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow