Warning
This documentation is for an old version of IPython. You can find docs for newer versions here.
Module: html.widgets.widget_selection¶
Selection classes.
Represents an enumeration using a widget.
5 Classes¶
-
class
IPython.html.widgets.widget_selection.ToggleButtons(*args, **kwargs)¶ Bases:
IPython.html.widgets.widget_selection._SelectionGroup of toggle buttons that represent an enumeration. Only one toggle button can be toggled at any point in time.
-
class
IPython.html.widgets.widget_selection.Dropdown(*args, **kwargs)¶ Bases:
IPython.html.widgets.widget_selection._SelectionAllows you to select a single item from a dropdown.
-
class
IPython.html.widgets.widget_selection.RadioButtons(*args, **kwargs)¶ Bases:
IPython.html.widgets.widget_selection._SelectionGroup of radio buttons that represent an enumeration. Only one radio button can be toggled at any point in time.
-
class
IPython.html.widgets.widget_selection.Select(*args, **kwargs)¶ Bases:
IPython.html.widgets.widget_selection._SelectionListbox that only allows one item to be selected at any given time.
-
class
IPython.html.widgets.widget_selection.SelectMultiple(*args, **kwargs)¶ Bases:
IPython.html.widgets.widget_selection._MultipleSelectionListbox that allows many items to be selected at any given time. Despite their names, inherited from
_Selection, the currently chosen option values,value, or their labels,selected_labelsmust both be updated with a list-like object.
