This code does not work for me:

import gnomeprint
cfg = gnomeprint.config_default()
print cfg.get_int(key=gnomeprint.KEY_PAGE_MARGIN_LEFT)
print cfg.get_length(key=gnomeprint.KEY_PAGE_MARGIN_LEFT)

get_int() works, but it returns a value in cm, which is not very useful when 
the context uses points for all calculations. It looks like get_length() 
should do what I want but I get this error:

RuntimeError: more keyword list entries than argument specifiers


_______________________________________________
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