sebp/PyGObject-Tutorial — pull request #13 by Neynt (2012-01-01 03:20:58+00:00)
Title: Added Clipboard section and example.

(This is for Google Code-in 2011. Code-in task located at http://www.google-melange.com/gci/task/view/google/gci2011/7135209)

I've added a little section about using the clipboard in PyGObject.
Gtk.Clipboard methods that have been listed are:
get(selection)
set_text(text, length)
set_image(image)
wait_for_text()
wait_for_image()
store()
clear()

Also added a clipboard example program, consisting of a Gtk.Entry, a Gtk.Image, and a few Gtk.Buttons arranged in a Gtk.Table. The buttons let you copy and paste to and from the text and image.

Here's what it looks like:
http://neynt.readthedocs.org/en/latest/clipboard.html

Please let me know if I should change anything.