Gtk.PrintOperation.prototype.set_unit
function set_unit(unit:Gtk.Unit):void {
// Gjs wrapper for gtk_print_operation_set_unit()
}Sets up the transformation for the cairo context obtained from Gtk.PrintContext in such a way that distances are measured in units of unit.
Since 2.10
- unit
the unit to use