IPython Documentation

Table Of Contents

Previous topic

Module: html.widgets.widget_int

Next topic

Module: html.widgets.widget_selectioncontainer

This Page

Note

This documentation is for a development version of IPython. There may be significant differences from the latest stable release.

Module: html.widgets.widget_selection

Selection classes.

Represents an enumeration using a widget.

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