Skip to content

SliceEdit#

SliceEdit widget

Available in backends:

Signals#

  • changed(object) - Emitted with self when any sub-widget in the container changes.
  • label_changed(str) - Emitted when the widget label changes.
  • native_parent_changed(object) - Emitted with the backend widget when the widget parent changes.

SliceEdit #

Bases: RangeEdit

A widget to represent slice objects, with start/stop/step.

slice(stop) slice(start, stop[, step])

Slice objects may be used for extended slicing (e.g. a[0:10:2])

value: slice property writable #

Return current value of the widget. This may be interpreted by backends.