Gtk.PageSetup.prototype.get_paper_width

function get_paper_width(unit:Gtk.Unit):Number {
    // Gjs wrapper for gtk_page_setup_get_paper_width()
}

Returns the paper width in units of unit.

Note that this function takes orientation, but not margins into consideration. See Gtk.PageSetup.prototype.get_page_width.

Since 2.10

unit

the unit for the return value

Returns

the paper width.