Method

GimpUiSizeEntryset_unit

Declaration [src]

void
gimp_size_entry_set_unit (
  GimpSizeEntry* gse,
  GimpUnit unit
)

Description [src]

Sets the GimpSizeEntrys 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 GimpSizeEntryUpdatePolicy you chose in gimp_size_entry_new().

Parameters

unit

Type: None

The new unit.