slider: Slider Widgets

View source: R/tk.r

sliderR Documentation

Slider Widgets

Description

Construct a slider widget.

Usage

slider(parent, initial = 1, from = 0, to = 100, orient = "horizontal")

Arguments

parent

the parent window

initial

the initial values of the sliders

from

minimum slider values

to

maximum slider value

orient

slider orientation

Details

The slider function creates a widget containing a single horizontal slider.

Value

Returns an object of class slider with elements

window

the widget

selected

function that returns the state of the sliders

state

the tclVars representing the state of the sliders


SWotherspoon/QPress documentation built on Sept. 26, 2022, 2:27 a.m.