summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2007-05-30 15:06:18 +0200
committergbrandl <devnull@localhost>2007-05-30 15:06:18 +0200
commitea36683239d942d01d59b165e2acd551b710bfdc (patch)
tree6e2d6eabb42fdfa6347442c299c6ed6a6952a716 /docs/src
parent6d63cca4677b97e932ccff93c15649072a2e4f6a (diff)
downloadpygments-ea36683239d942d01d59b165e2acd551b710bfdc.tar.gz
[svn] Doc add.
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/index.txt2
-rw-r--r--docs/src/pygtk.txt9
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/src/index.txt b/docs/src/index.txt
index 957822d2..e976d5dd 100644
--- a/docs/src/index.txt
+++ b/docs/src/index.txt
@@ -48,6 +48,8 @@ Welcome to the Pygments documentation.
- `Using Pygments with MoinMoin <moinmoin.txt>`_
+ - `Using Pygments in a PyGtk application <pygtk.txt>`_
+
- About Pygments
- `Changelog <changelog.txt>`_
diff --git a/docs/src/pygtk.txt b/docs/src/pygtk.txt
new file mode 100644
index 00000000..7db429d2
--- /dev/null
+++ b/docs/src/pygtk.txt
@@ -0,0 +1,9 @@
+====================================
+Using Pygments in PyGtk applications
+====================================
+
+Armin has written a piece of sample code that shows how to create a Gtk
+`TextBuffer` object containing Pygments-highlighted text.
+
+See the article here: http://lucumr.pocoo.org/cogitations/2007/05/30/pygments-gtk-rendering/
+