GimpUi.UnitComboBox.prototype.get_active

function get_active(): Gimp.Unit {
    // Gjs wrapper for gimp_unit_combo_box_get_active()
}
  

Returns the Gimp.Unit currently selected in the combo box.

Returns

The selected Gimp.Unit.