[pygtk] Custom paper size

Joel Juvenal Rivera Rivera joelriv at gmail.com
Wed Mar 3 16:57:40 WST 2010


Hello, 
I hope somebody could help me with this...

when I do:
 paper = gtk.PaperSize() 
 paper.set_size(216,140,gtk.UNIT_MM)

raise this warning:
 GtkWarning: gtk_paper_size_set_size: assertion `size->is_custom' failed

And the size of the paper remains unchanged.

I'll really appreciate any help.

Regards         ---Joel Rivera



More information about the pygtk mailing list