A constructor function and a class to create toggle-button widgets

ToggleButtonStyle(...)

ToggleButton(...)

Arguments

...

Arguments passed to the inializer

Functions

  • ToggleButtonStyle(): The constructor for Togglebuttons styles

  • ToggleButton(): A toggle-button constructor

Super classes

RKernel::HasTraits -> RKernel::Widget -> RKernel::DescriptionStyle -> ToggleButtonStyle

Public fields

_model_name

Name of the Javascript model in the frontend

font_family

The font family

font_size

The font size

font_style

The font style

font_variant

The font variant

font_weight

The font weight

text_color

The text color

text_decoration

The text decoration

required_version

Minimum required ipywidgets version in which the current widget class is supported.

Super classes

RKernel::HasTraits -> RKernel::Widget -> RKernel::DOMWidget -> RKernel::DescriptionWidget -> RKernel::ValueWidget -> ToggleButton

Public fields

_model_name

Name of the Javascript model in the frontend

_view_name

Name of the Javascript model view in the frontend

value

Boolean, whether the box is checked

tooltip

A tooltip

description

A button description

disabled

Boolean, whether the button is disabled

icon

An icon (a fontawesome icon name)

button_style

The string that describes the button style

style

The toggle button style, an object of class "ToggleButtonStyleClass"