ImagePy supports dropdown menus. I can use them to select from a set of user-defined options. This is a generalization of the img variable used in the view variable in the RagThreshold class, see also #7 (comment).
A particular use case: choose among several label images saved in the data attribute of the ImagePlus object.