class_docstr: Selection that is guaranteed to have a value selected.
class_docstr_tok: ["Selection","that","is","guaranteed","to","have","a","value","selected","."]
code: def __init__(self, *args, **kwargs):
      if len(kwargs.get("options", ())) == 0:
          raise TraitError("options must be nonempty")
      super().__init__(*args, **kwargs)
  
imports: from collections.abc import Iterable, Mapping
  from itertools import chain
  from .widget_description import DescriptionWidget, DescriptionStyle
  from .valuewidget import ValueWidget
  from .widget_core import CoreWidget
  from .widget_style import Style
  from .trait_types import InstanceDict, TypedTuple
  from .widget import register, widget_serialization
  from .widget_int import SliderStyle
  from .docutils import doc_subst
  from traitlets import Unicode, Bool, Int, Any, Dict, TraitError, CaselessStrEnum, Tuple, Union, observe, validate
label_desc: Use image node_id 1 to create a new _SelectionNonempty object from inherited base classes: _Selection with example: obj = _SelectionNonempty()