LinearSelector¶

LinearSelector¶

Constructor¶

LinearSelector(selection, limits[, axis, ...])

Create a horizontal or vertical line slider that is synced to an ipywidget IntSlider

Properties¶

LinearSelector.children

Return the children of the WorldObject.

LinearSelector.limits

LinearSelector.name

str name reference for this item

LinearSelector.position

position of the graphic, [x, y, z]

LinearSelector.position_x

x-axis position of the graphic

LinearSelector.position_y

y-axis position of the graphic

LinearSelector.position_z

z-axis position of the graphic

LinearSelector.rotation

LinearSelector.visible

Access or change the visibility.

LinearSelector.world_object

Associated pygfx WorldObject.

Methods¶

LinearSelector.add_ipywidget_handler(widget)

Bidirectionally connect events with a ipywidget slider

LinearSelector.get_selected_data()

Not implemented for this selector

LinearSelector.get_selected_index([graphic])

Data index the slider is currently at w.r.t.

LinearSelector.get_selected_indices()

Not implemented for this selector

LinearSelector.make_ipywidget_slider([kind])

Makes and returns an ipywidget slider that is associated to this LinearSelector

LinearSelector.rotate(alpha[, axis])

Rotate the Graphic with respect to the world.