Gtk.PrintSettings.prototype.get_length

function get_length(key:String, unit:Gtk.Unit):Number {
    // Gjs wrapper for gtk_print_settings_get_length()
}

Returns the value associated with key, interpreted as a length. The returned value is converted to @units.

Since 2.10

key

a key

unit

the unit of the return value

Returns

the length value of key, converted to unit