Git Product home page Git Product logo

radide's Introduction

radide's People

Contributors

hansent avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

akshayaurora

radide's Issues

creation/deletion of widgets crash

I tried to use the + and - buttons on the two widgets in the default tree, and the application crashes :)

File "main.py", line 234, in
app.run()
File "/home/gaby/kivy/kivy/app.py", line 430, in run
runTouchApp()
File "/home/gaby/kivy/kivy/base.py", line 401, in runTouchApp
EventLoop.window.mainloop()
File "/home/gaby/kivy/kivy/core/window/window_pygame.py", line 261, in mainloop
self._mainloop()
File "/home/gaby/kivy/kivy/core/window/window_pygame.py", line 180, in _mainloop
EventLoop.idle()
File "/home/gaby/kivy/kivy/base.py", line 268, in idle
self.dispatch_input()
File "/home/gaby/kivy/kivy/base.py", line 253, in dispatch_input
self.post_dispatch_input(etype, me)
File "/home/gaby/kivy/kivy/base.py", line 224, in post_dispatch_input
wid.dispatch('on_touch_up', me)
File "event.pyx", line 132, in kivy.event.EventDispatcher.dispatch (kivy/event.c:1578)
File "/home/gaby/kivy/kivy/uix/button.py", line 110, in on_touch_up
self.dispatch('on_release')
File "event.pyx", line 128, in kivy.event.EventDispatcher.dispatch (kivy/event.c:1528)
File "/home/gaby/kivy/kivy/lang.py", line 738, in custom_callback
exec value
File "", line 1, in
AttributeError: type object 'kivy.properties.ObjectProperty' has no attribute 'delete_widget'

Traceback (most recent call last):
File "main.py", line 234, in
app.run()
File "/home/gaby/kivy/kivy/app.py", line 430, in run
runTouchApp()
File "/home/gaby/kivy/kivy/base.py", line 401, in runTouchApp
EventLoop.window.mainloop()
File "/home/gaby/kivy/kivy/core/window/window_pygame.py", line 261, in mainloop
self._mainloop()
File "/home/gaby/kivy/kivy/core/window/window_pygame.py", line 180, in _mainloop
EventLoop.idle()
File "/home/gaby/kivy/kivy/base.py", line 268, in idle
self.dispatch_input()
File "/home/gaby/kivy/kivy/base.py", line 253, in dispatch_input
self.post_dispatch_input(etype, me)
File "/home/gaby/kivy/kivy/base.py", line 224, in post_dispatch_input
wid.dispatch('on_touch_up', me)
File "event.pyx", line 132, in kivy.event.EventDispatcher.dispatch (kivy/event.c:1578)
File "/home/gaby/kivy/kivy/uix/button.py", line 110, in on_touch_up
self.dispatch('on_release')
File "event.pyx", line 128, in kivy.event.EventDispatcher.dispatch (kivy/event.c:1528)
File "/home/gaby/kivy/kivy/lang.py", line 738, in custom_callback
exec value
File "", line 1, in
AttributeError: type object 'kivy.properties.ObjectProperty' has no attribute 'delete_widget'

property page isn't displayed after being dismissed once

popup.on_dismiss isn't called resulting in the self.property_popup not being reset to None, hindering further calls to it.

changing line
183 self.property_popup = Popup(
title = "Properties:",
size_hint=(.8,.9),
content=props,
on_dismiss = on_dismiss )

to
self.property_popup = Popup(
title = "Properties:",
size_hint=(.8,.9),
content=props)
self.property_popup.bind(on_dismiss = on_dismiss )

seems to fix this.

P.S
Really really nice project:)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.