set_value


Description:

[ CCode ( cname = "gimp_size_entry_set_value" ) ]
public void set_value (int field, double value)

Sets the value for field # field of the SizeEntry.

The value passed is treated to be a distance or resolution in the Unit the user has selected in the SizeEntry's UnitComboBox.

NOTE: In most cases you won't be interested in this value because the SizeEntry's purpose is to shield the programmer from unit calculations. Use set_refval instead.

Parameters:

this

The sizeentry you want to set a value for.

field

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

value

The new value for field.