GTK+3 中是否有不使用 css 用 c++ 编写的多行文本字段的示例?

Is there an example of a multiline text field in GTK+3 written in c++ without using css?

我无法理解 GTK+3 中的基本多行文本字段内容。我希望有人可以通过一个没有 css 格式的简单示例来帮助我。我已经进行了一些谷歌搜索,但没有发现任何我不必解构就能得到答案的东西。谢谢。

好的,我知道怎么做了。

GtkTextBuffer *textBufferName = gtk_text_buffer_new(NULL);
GtkWidget *widgetName = gtk_text_view_new_with_buffer(textBufferName);