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._Selection

Group 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._Selection

Allows you to select a single item from a dropdown.

class IPython.html.widgets.widget_selection.RadioButtons(*args, **kwargs)

Bases: IPython.html.widgets.widget_selection._Selection

Group 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._Selection

Listbox 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._MultipleSelection

Listbox 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_labels must both be updated with a list-like object.