get_value


Description:

[ CCode ( cname = "gimp_size_entry_get_value" ) ]
public double get_value (int field)

Returns the value of field # field of the SizeEntry.

The value returned is 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 get_refval instead.

Parameters:

this

The sizeentry you want to know a value of.

field

The index of the field you want to know the value of.

Returns:

The value of the chosen field.