build_literal_editor

caqtus.gui.autogen.build_literal_editor(
*values,
) EditorFactory[LiteralEditor]

Build an editor for a predefined set of values.

The editor will be a combo box proposing the given values.

Parameters:

values – The values to propose in the combo box. They must be hashable and convertible to string.