[pygtk] How to print any objects of a window?

Giuseppe Penone giuspen at gmail.com
Wed Aug 24 19:48:32 WST 2011


option 1: you take a screenshot and then draw the pixbuf
option 2 :you have to draw the grid yourself and then the text inside the
cells computing the required space.
you can take a look at:
http://code.google.com/p/giuspen-cherrytree/source/browse/modules/printing.py


On Wed, Aug 24, 2011 at 14:06, Григорий Крамаренко <djbaldey at gmail.com>wrote:

> I have simple report on window. The report consists of heading (gtk.Label)
> and the table (gtk.TreeView). How to print all(any) objects of a window?
> All found examples PrintOperation print either the text, or drawing.
>
> --
> С уважением, Григорий Крамаренко.
>
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110824/5aca4599/attachment.html>


More information about the pygtk mailing list