python - How to get the state of checkbox which is the listview_item -


here code:

list_view = ruleset_form.tsettingslistview ctrl = list_view.wrapperobject() list_view = listviewwrapper(ctrl) 

i can't checkbox http://take.ms/plezr variants presented below don't work:

1)

ctrl = list_view.items()[2].wrapperobject() checkbox = buttonwrapper(ctrl) 

output is: attributeerror: '_listview_item' object has no attribute 'wrapperobject'

2)

ctrl = list_view.getitem(i,3).wrapperobject() checkbox = buttonwrapper(ctrl) 

output is: attributeerror: '_listview_item' object has no attribute 'wrapperobject'

3)

ctrl = list_view.getitem(i,3).item().wrapperobject() checkbox = buttonwrapper(ctrl) 

output is: attributeerror: 'lvitemw' object has no attribute 'wrapperobject'

4)

checkbox = buttonwrapper(list_view.getitem(i,3).listview_ctrl) 

output always: 0


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -