Gtk.PageSetup.prototype.get_page_width

function get_page_width(unit:Gtk.Unit):Number {
    // Gjs wrapper for gtk_page_setup_get_page_width()
}

Returns the page width in units of unit.

Note that this function takes orientation and margins into consideration. See Gtk.get_paper_width.

Since 2.10

unit

the unit for the return value

Returns

the page width.