Skip to content

magicgui.type_map#

Widget Description
get_widget_class Return a Widget subclass for the value/annotation.
register_type Register a widget_type to be used for all parameters with type type_.
type_registered Context manager that temporarily registers a widget type for a given type_.
type2callback Return any callbacks that have been registered for type_.

magicgui.type_map.get_widget_class = _GLOBAL_TYPE_MAP.get_widget_class module-attribute #

magicgui.type_map.register_type = _GLOBAL_TYPE_MAP.register_type module-attribute #

magicgui.type_map.type_registered = _GLOBAL_TYPE_MAP.type_registered module-attribute #

magicgui.type_map.type2callback = _GLOBAL_TYPE_MAP.type2callback module-attribute #