4

I'm using the Enthought Traits/UI system and would like to enforce a minimum value on a Float trait, which appears in the GUI and is editable by the user.

dbanas
  • 1,707
  • 14
  • 24

1 Answers1

4

Use a Range trait instead. Range(low=minimum_value)

Robert Kern
  • 13,118
  • 3
  • 35
  • 32