gslider: slider widget

Description Usage Arguments Note

Description

Use slider to select from a sequence of values, specified as with seq. The sequence steps must be greater than 1

Usage

1
2
3
4
  gslider(from = 0, to = 100, by = 1, value = from,
    horizontal = TRUE, handler = NULL, action = NULL,
    container = NULL, ..., width = NULL, height = NULL,
    ext.args = NULL, tpl = "{0}")

Arguments

from

starting point. Unlike other implementations for gWidgets, this is not possibly a vector specifying a range of values to slide over.

to

ending point

by

step size. Must be larger than 1 and even then will round to integer value

value

initial value

horizontal

orientation

tpl

Template for tooltip. Should have "{0}" to replace the value, but can have more formatting

handler

optional handler bound via addHandlerChanged

action

optional value to paramaterize handler

container

parent container

...

passed along to add call of the container. Can be used to adjust layout parameters. May also have other uses.

width

a pre-specified width (in pixels) for the widget

height

a pre-specified height (in pixels) for the widget

ext.args

A list of extra arguments to pass to the ExtJS constructor

Note

The slider updates on "changecomplete", not the more common "change". The "change" signal happens too often for the transferral of values to work reliably. the database can process so these should be used sparingly.


jverzani/gWidgetsWWW2.rapache documentation built on May 20, 2019, 5:19 a.m.