Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kivent objects (widgets) do not have attribute 'dec_disabled' #276

Open
dotmatrixhero opened this issue May 13, 2019 · 2 comments
Open

Kivent objects (widgets) do not have attribute 'dec_disabled' #276

dotmatrixhero opened this issue May 13, 2019 · 2 comments

Comments

@dotmatrixhero
Copy link

I'm not sure if this is related to a version mismatch (i'm on kivy 1.10), but some of the example files aren't working.

The 6_controlling_the_viewing_area, for example, runs into an error while trying to call remove_widget.

@thegameguy
Copy link

thegameguy commented May 25, 2019

Is this a kivy widget your trying to remove or is it a kivent entity that your trying to remove?. If its the latter case you need to make sure that you pause the physics system while removing the entity and then resume the physics systems

@dotmatrixhero
Copy link
Author

Figured it out. It's definitely related to having a kivy version that's higher than expected. In my case I couldn't down grade kivy so I modified CWidget to look similar to kivy's updated widget, with some modifications to allow for new decrementing and incrementing of disabled values.

I had to modify the .pxd for CWidget after adding the disabled properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants