traitsui.helper module

Defines various helper functions that are useful for creating Traits-based user interfaces.

traitsui.helper.commatize(value)

Formats a specified value as an integer string with embedded commas. For example: commatize( 12345 ) returns “12,345”.

traitsui.helper.enum_values_changed(values, strfunc=<class 'str'>)

Recomputes the mappings for a new set of enumeration values.

traitsui.helper.user_name_for(name)

Returns a “user-friendly” name for a specified trait.

Previous topic

traitsui.help_template module

Next topic

traitsui.include module

This Page