SliderForm

class compas_rhino.forms.SliderForm(*args, **kwargs)[source]

Bases: BaseForm

A form for sliders.

Parameters
  • minval (int) – The lowest value of the sliding range.

  • maxval (int) – The highest value of the sliding range.

  • step (int) – Size of one increment in the sliding range.

  • value (int) – Starting value.

Methods

init

Initialize the form.

on_scroll

Callback for changes made with the slider.

on_textchanged

Callback for changes made to the text input field.

Inherited Methods

on_form_closed

Callback for the closing event of the form.

show

Show the form as a modal dialog.