I've just learned about property definitions in operators. I can't find an answer on how to set them up in a way that their possible options appear as a dropdown in the Keymap panel. Like this one:
I've managed to get something to appear there by inserting something into default = ''
but that's about it.
uitype: bpy.props.StringProperty(
name = 'uitype',
default = 'Something',
#preset_options = ['item1', 'item2', 'item3']
)
How do I program that?