[ CCode ( cname = "gimp_size_entry_set_resolution" ) ]
public void set_resolution (int field, double resolution, bool keep_size)
Sets the resolution (in dpi) for field # field of the SizeEntry.
The resolution passed will be clamped to fit in [
MIN_RESOLUTION..MAX_RESOLUTION].
This function does nothing if the SizeEntryUpdatePolicy specified in SizeEntry doesn't equal to SIZE.
| this |
The sizeentry you want to set a resolution for. |
| field |
The index of the field you want to set the resolution for. |
| resolution |
The new resolution (in dpi) for the chosen |
| keep_size |
true if the |