generate_enum_editor
- caqtus.gui.autogen.generate_enum_editor(
- enum_type: type[T],
Generate an editor factory for an enum type.
- Returns:
A factory function that creates an EnumEditor for the given enum type. The editor is a combobox with the string representation of each enum member as its items.