Skip to contents

An R6 class and a constructor function for the creation of widgets that can be used to manipulate integer numbers

Usage

IntText(value = 0, step = 1, ...)

Arguments

value

Initial value of the integer number

step

Increment by which the number is increased or decreased by the text field controls

...

Arguments passed to the superclass constructor

Details

The function IntText creates objects of the R6 Class "IntTextClass", which in turn have the S3 class attribute "IntText"

Super classes

RKernel::HasTraits -> RKernel::Widget -> RKernel::DOMWidget -> RKernel::DescriptionWidget -> RKernel::ValueWidget -> RKernel::IntWidget -> IntText

Public fields

_model_name

Name of the Javascript model in the frontend.

_view_name

Name of the Javascript view in the frontend.

disabled

A Boolean traitlet, whether the text widget is disabled.

continuous_update

A Boolean traitlet, whether the text widget is continuously updated upon change in the frontend.

step

An Integer traitlet, a step size by which the value is incremented or decremented if the arrows are clicked.