python - Kivy: 'NoneType' object has no attribute 'bind' -
i testing out actionbar widget of kivy, here program -
 kivy.app import app  kivy.lang import builder  kivy.uix.boxlayout import boxlayout   builder.load_string('''  <rootwidget>:       actionbar:           pos_hint: {'top':1}       actionview:           actionbutton:               text: "button" ''')   class rootwidget(boxlayout):      pass  class mainapp(app):      def build(self):          return rootwidget()  if __name__ == "__main__":      mainapp().run()   nothing going on here, added actionbar inside boxlayout.
 here traceback getting on executing program.
try sth this:
 <rootwidget>:       actionbar:           pos_hint: {'top':1}           actionprevious:           actionview:               actionbutton:                   text: "button"   in case actionview treated child of rootwidget , notice actionprevious .
Comments
Post a Comment