PageSetup.setPaperSizeAndDefaultMargins

void setPaperSizeAndDefaultMargins(gtk.paper_size.PaperSize size)

Sets the paper size of the gtk.page_setup.PageSetup and modifies the margins according to the new paper size.

Parameters

sizea gtk.paper_size.PaperSize