a question for the wx python users here

i have managed to create an application skeleton of a text editor that i am working on, i have created the main edit box and the menus, and now i am trying to bind events to the menu items, my first attempt was the open file dialog, and i ran it after implementing the code for the open dialog and i got this, note, if you need the code that i used, i can post it, but here is what i got after running this file
Traceback (most recent call last):
  File "window.py", line 53, in <module>
    frame = GUI()
  File "window.py", line 13, in __init__
    self.Bind(wx.EVT_MENU, self.Open, menu_open)
AttributeError: 'GUI' object has no attribute 'Open'

if anyone knows how i can fix this, please tell me, thanks for the help

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : SkyGuardian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : SkyGuardian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : SkyGuardian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : SkyGuardian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : SkyGuardian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector

Reply via email to