Gtk.PaperSize.prototype.get_width

function get_width(unit:Gtk.Unit):Number {
    // Gjs wrapper for gtk_paper_size_get_width()
}

Gets the paper width of the Gtk.PaperSize, in units of unit.

Since 2.10

unit

the unit for the return value, not Gtk.Unit.none

Returns

the paper width