Gustavo, thanks for your help!

Now I'm in for another round, this time trying to figure how to
add an image to the print job. Trying to run example_02.py from CVS:

Traceback (most recent call last):
  File "./example_02.py", line 107, in ?
    my_print()
  File "./example_02.py", line 101, in my_print
    my_draw(gpc)
  File "./example_02.py", line 89, in my_draw
    my_print_image_from_memory(gpc)
  File "./example_02.py", line 82, in my_print_image_from_memory
    gpc.grestore()
AttributeError: 'gnomeprint.Context' object has no attribute 'grestore'

It seems that gnomeprint.Config does not have grestore() method wrapped 
for python. Am I missing something, or should I go ahead and file a bug
in Bugzilla?

While we're at it, what does 
    gpc.scale(144, 144)
do in example_02.py? Where does 144 come from?

Thanks in advance,
Alex

-- 
Alexander Roitman   http://ebner.neuroscience.umn.edu/people/alex.html
Dept. of Neuroscience, Lions Research Building
2001 6th Street SE, Minneapolis, MN  55455
Tel (612) 625-7566   FAX (612) 626-9201

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to