Skip to contents

A base class for widgets that are connected with values

Public fields

value

A list or any other vector of values

Methods

Inherited methods


Method new()

A generic initializer function

Usage

ValueWidgetClass$new(value, ...)

Arguments

value

A value to initialize instance with

...

Any other arguments, ignored.


Method on_change()

Add handler function to be called when value is changed

Usage

ValueWidgetClass$on_change(handler, remove = FALSE)

Arguments

handler

A handler function

remove

A logical value, whether the handler should be removed or added.


Method clone()

The objects of this class are cloneable with this method.

Usage

ValueWidgetClass$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.