Gtk.PaperSize.new_custom
function new_custom(name:String, display_name:String, width:Number, height:Number, unit:Gtk.Unit):Gtk.PaperSize {
// Gjs wrapper for gtk_paper_size_new_custom()
}Creates a new Gtk.PaperSize object with the given parameters.
Since 2.10
- name
the paper name
- display_name
the human-readable name
- width
the paper width, in units of unit
- height
the paper height, in units of unit
- unit
the unit for width and height. not Gtk.Unit.none.
- Returns
a new Gtk.PaperSize object, use Gtk.free to free it