GimpUi.SizeEntry.get_unit

@accepts(GimpUi.SizeEntry)
@returns(Gimp.Unit)
def get_unit(self):
    # Python wrapper for gimp_size_entry_get_unit()
  

Returns the Gimp.Unit the user has selected in the GimpUi.SizeEntry's GimpUi.UnitComboBox.

self

The sizeentry you want to know the unit of.

Returns