scrollview

ScrollView

class kivy.uix.scrollview.ScrollView

Наследник kivy.uix.stencilview.StencilView

root = ScrollView(size_hint=(1, None))
root.add_widget(layout)
always_overscroll
bar_color
bar_inactive_color
bar_margin
bar_pos
bar_pos_x
bar_pos_y
bar_width
do_scroll
do_scroll_x
do_scroll_y
effect_cls
effect_x
effect_y
hbar
scroll_distance
scroll_timeout
scroll_type
  • bars

  • content

list

scroll_wheel_distance
scroll_x
scroll_y
smooth_scroll_end
vbar
viewport_size
add_widget(widget, index=0)
convert_distance_to_scroll(dx, dy)
on_scroll_start()
on_scroll_move()
on_scroll_stop()
on_touch_down(touch)
  • touch - kivy.uix.input.motionevent.MotionEvent

on_touch_move(touch)
  • touch - kivy.uix.input.motionevent.MotionEvent

on_touch_up(touch)
  • touch - kivy.uix.input.motionevent.MotionEvent

remove_widget(widget)
scroll_to(widget, padding=10, animate=True)
to_local(x, y, **k)
to_parent(x, y, **k)
update_from_scroll(*args)