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, Григорий Крамаренко <djbal...@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@daa.com.au > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/
_______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/