ChoiceElement¶
-
class
glue.viewers.custom.qt.custom_viewer.
ChoiceElement
(params)[source]¶ Bases:
glue.viewers.custom.qt.custom_viewer.FormElement
A dropdown selector to choose between a set of items
Shorthand notation is a sequence of strings or a dict:
e = FormElement.auto({'a':1, 'b':2}) e = FormElement.auto(['a', 'b', 'c'])
Attributes Summary
state
Methods Summary
recognizes
(params)value
([layer, view])Attributes Documentation
-
state
¶
Methods Documentation
-