Multiline Text Editing Widget (8)

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

For more details check out the GtkSourceView manual.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章