Skip to contents

Classes and constructor functions for sliders (integer and floating-point ones)

Usage

IntSlider(value = 0L, min = 0L, max = 100L, ...)

IntRangeSlider(value = c(0L, 50L), min = 0L, max = 100L, ...)

FloatSlider(value = 0, min = 0, max = 100, ...)

FloatRangeSlider(value = c(0, 50), min = 0, max = 100, ...)

FloatLogSlider(value = 1, min = 0, max = 40, base = 10, ...)

Arguments

value

A floating point number, the current value of the slider

min

A floating point number, the minimum value

max

A floating point number, the maximum value

...

Other arguments.

base

A floating point number, the base of the logarithm

Functions

  • IntSlider(): An integer slider constructor

  • IntRangeSlider(): An integer range slider constructor

  • FloatSlider(): A floating point slider constructor

  • FloatRangeSlider(): A floating point slider range constructor

  • FloatLogSlider(): A floating point log-slider constructor

Super classes

RKernel::HasTraits -> RKernel::Widget -> RKernel::DescriptionStyle -> SliderStyle

Public fields

_model_name

Name of the Javascript frontend model

handle_color

Unicode string, the color of the slider handle

Super classes

RKernel::HasTraits -> RKernel::Widget -> RKernel::DOMWidget -> RKernel::DescriptionWidget -> RKernel::ValueWidget -> RKernel::BoundedIntWidget -> IntSlider

Public fields

_model_name

Name of the Javascript model in the frontend

_view_name

Name of the Javascript view in the frontend

step

An Integer traitlet, the minimal step size per slider movement

orientation

A Unicode string, either "horizontal" or "vertical"

readout

A logical value, whether the value should be showns (read out)

readout_format

A unicode string, the format specification

continuous_update

A logical value, whether values should be updated as the slider is moved by the user

disabled

A logical value, whether the slider is disabled

style

A SliderStyle widget

behavior

A string that describes the ddragging behavior.

Super classes

RKernel::HasTraits -> RKernel::Widget -> RKernel::DOMWidget -> RKernel::DescriptionWidget -> RKernel::ValueWidget -> RKernel::BoundedIntRangeWidget -> IntRangeSlider

Public fields

_model_name

Name of the Javascript model in the frontend

_view_name

Name of the Javascript view in the frontend

step

An Integer traitlet, the minimal step size per slider movement

orientation

A Unicode string, either "horizontal" or "vertical"

readout

A logical value, whether the value should be showns (read out)

readout_format

A logical value, whether values should be updated as the slider is moved by the user

continuous_update

A logical value, whether values should be updated as the slider is moved by the user

disabled

A logical value, whether the slider is disabled

style

A SliderStyle widget

behavior

A string that describes the ddragging behavior.

Super classes

RKernel::HasTraits -> RKernel::Widget -> RKernel::DOMWidget -> RKernel::DescriptionWidget -> RKernel::ValueWidget -> RKernel::BoundedFloatWidget -> FloatSlider

Public fields

_model_name

Name of the Javascript model in the frontend

_view_name

Name of the Javascript view in the frontend

step

A Float traitlet, the minimal step size per slider movement

orientation

A Unicode string, either "horizontal" or "vertical"

readout

A logical value, whether the value should be showns (read out)

readout_format

A logical value, whether values should be updated as the slider is moved by the user

continuous_update

A logical value, whether values should be updated as the slider is moved by the user

disabled

A logical value, whether the slider is disabled

style

A SliderStyle widget

behavior

A string that describes the ddragging behavior.

Super classes

RKernel::HasTraits -> RKernel::Widget -> RKernel::DOMWidget -> RKernel::DescriptionWidget -> RKernel::ValueWidget -> RKernel::BoundedFloatRangeWidget -> FloatRangeSlider

Public fields

_model_name

Name of the Javascript model in the frontend

_view_name

Name of the Javascript view in the frontend

step

A Float traitlet, the minimal step size per slider movement

orientation

A Unicode string, either "horizontal" or "vertical"

readout

A logical value, whether the value should be showns (read out)

readout_format

A logical value, whether values should be updated as the slider is moved by the user

continuous_update

A logical value, whether values should be updated as the slider is moved by the user

disabled

A logical value, whether the slider is disabled

style

A SliderStyle widget

behavior

A string that describes the ddragging behavior.

Super classes

RKernel::HasTraits -> RKernel::Widget -> RKernel::DOMWidget -> RKernel::DescriptionWidget -> RKernel::ValueWidget -> RKernel::BoundedLogFloatWidget -> FloatLogSlider

Public fields

_model_name

Name of the Javascript model in the frontend

_view_name

Name of the Javascript view in the frontend

step

A Float traitlet, the minimal step size per slider movement

orientation

A Unicode string, either "horizontal" or "vertical"

readout

A logical value, whether the value should be showns (read out)

readout_format

A logical value, whether values should be updated as the slider is moved by the user

continuous_update

A logical value, whether values should be updated as the slider is moved by the user

disabled

A Boolean traitlet, whether the slider is disabled

base

A Float traitlet, the base of the logarithm

style

A SliderStyle widget

behavior

A string that describes the ddragging behavior.