set_unit


Description:

[ CCode ( cname = "gimp_size_entry_set_unit" ) ]
public void set_unit (Unit unit)

Sets the SizeEntry's unit.

The reference value for all fields will stay the same but the value in units or pixels per unit will change according to which SizeEntryUpdatePolicy you chose in SizeEntry.

Parameters:

this

The sizeentry you want to change the unit for.

unit

The new unit.