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

2011-08-24 Thread Григорий Крамаренко
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/

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

2011-08-24 Thread Giuseppe Penone
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.comwrote:

 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/