[pygtk] Rich text on the clipboard
Seth Mahoney
smahoney at pdx.edu
Sat Jan 6 02:15:56 WST 2007
Thanks for the reply, but I've already been through the API
documentation. The only info there is on methods to retrieve rich text,
which doesn't help for my purposes. I want to add some rich text to the
clipboard...
On Fri, 2007-01-05 at 13:56 +0100, Gian Mario Tagliaretti wrote:
> 2007/1/3, Seth Mahoney <smahoney at pdx.edu>:
> > Can anyone point me to a nice tutorial or any info at all on how to
> > handle copying rich text to the clipboard using python and GTK?
>
> Since pygtk 2.10 gtk.Clipboard has got news methods to handle
> rich_text, did you already tried them? see API reference for details:
> http://www.pygtk.org/docs/pygtk/class-gtkclipboard.html#method-gtkclipboard--request-rich-text
>
> I have never tried those methods myself, I hope it helps.
>
> cheers
More information about the pygtk
mailing list