set_refval


Description:

[ CCode ( cname = "gimp_size_entry_set_refval" ) ]
public void set_refval (int field, double refval)

Sets the reference value for field # field of the SizeEntry.

The refval passed is either a distance in pixels or a resolution in dpi, depending on which SizeEntryUpdatePolicy you chose in SizeEntry.

Parameters:

this

The sizeentry you want to set a reference value for.

field

The index of the field you want to set the reference value for.

refval

The new reference value for field.