get_paper_sizes

function get_paper_sizes(include_custom:Boolean):[Gtk.PaperSize] {
    // Gjs wrapper for gtk_paper_size_get_paper_sizes()
}

Creates a list of known paper sizes.

Since 2.12

include_custom

whether to include custom paper sizes as defined in the page setup dialog

Returns

a newly allocated list of newly allocated Gtk.PaperSize objects