Skip to content

pushbase.slideable_touch_strip_component

Classes

class SlideableTouchStripComponent(Component)

Bases: Component

__init__(self, touch_slideable, dragging_enabled, *a, **k)

set_page_strip(self, strip)

set_scroll_strip(self, strip)

update(self)

_update_touch_strips(self)

_scroll_to_led_position(self, scroll_pos, num_leds)

_touch_strip_to_scroll_position(self, value)

_touch_strip_to_page_position(self, value)

_scroll_to_touch_strip_position(self, scroll_pos)

_touch_strip_led_page_length(self, num_leds)

_update_touch_strip_state(self, strip)

_update_touch_strip_array(self, num_leds)

_on_touch_strip_value(self, value)

_on_page_touch_strip_value(self, value)

_on_page_length_changed(self)

_on_position_changed(self)

_on_contents_changed(self)