From: http://www.bravegnu.org/gtktext/x534.html
8. Final Notes
8.1. GtkTextView in gtk-demo
The gtk-demo which is distributed along the GTK+ library contains a demo on the GtkTextView and friends. It demonstrates some stuff that we have dropped here, like multiple views for a single buffer. It also has a demo on hyperlinking.
8.2. GtkSourceView
If you want to display/edit source code, you might consider using GtkSourceView and friends. They extend the GtkTextView widget, adding functionalities like
Indentation
Syntax Highlighting
Bracket Matching
Line numbering
博客介绍了GTK相关内容。GTK+库附带的gtk - demo中有GtkTextView的演示,展示了单缓冲区多视图、超链接等。若要显示或编辑源代码,可考虑使用GtkSourceView,它扩展了GtkTextView,增加了缩进、语法高亮等功能。
1万+

被折叠的 条评论
为什么被折叠?



