質問するログイン新規登録

回答編集履歴

1

コードの修正

2018/01/31 11:50

投稿

gottadiveintopy
gottadiveintopy

スコア736

answer CHANGED
@@ -17,13 +17,13 @@
17
17
  Rectangle:
18
18
  size: self.size
19
19
  pos: self.pos
20
- is_checked: checkbox.active
21
20
  Label:
22
21
  text: root.id
23
22
  Label:
24
23
  text: root.permission
25
24
  CheckBox:
26
- id: checkbox
25
+ active: root.is_checked
26
+ on_active: root.is_checked = args[1]
27
27
  ```
28
28
 
29
29
  後はrv.dataからいつでもデータを得られると思いますよ。