doubt in kivy archive K

Asked

Viewed 20 times

0

I’m having a doubt on a tag in Kv file that I can’t understand its function

<TableData>:
rgrid: rgrid
bar_width: 25
scroll_type: ['bars']
bar_color: [0.2, 0.7, 0.9, 1]
bar_inactive_color: [0.2, 0.7, 0.9, .5]
do_scroll_x: True
do_scroll_y: True
effect_cls: "ScrollEffect"
viewclass: "ScrollCell"
RecycleGridLayout:
    id: rgrid
    rows: root.nrows
    cols: root.ncols
    size_hint: (None, None)
    width: self.minimum_width
    height: self.minimum_height
    col_default_width: 400
    row_default_height: 60

How does this rgrid work? because it does this 'rgrid:rgrid' which is the name of this feature?

thank you!

  • Marcelo this rgrid is not a kivy feature, it is an id that has been assigned to the layout, however I cannot explain the line rgrid:rigrid.

  • Thank you, I really expressed myself badly. I wanted to know this myself: why does he do this rgrid:rgrid

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.