how to bind keypress event to function in using wxpython

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dynamo
    New Member
    • Apr 2007
    • 51

    how to bind keypress event to function in using wxpython

    Can i get examples of how to do this.As i have read the documentation and failed to understand it.For instance if A is pressed a certain sound should be played from my wxPython program.I use wxp,latest wxpython and python25.
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by dynamo
    Can i get examples of how to do this.As i have read the documentation and failed to understand it.For instance if A is pressed a certain sound should be played from my wxPython program.I use wxp,latest wxpython and python25.
    Sorry, dynamo, I'm not on my development machine at the moment. I'll try to post some code tonight.

    Comment

    • dynamo
      New Member
      • Apr 2007
      • 51

      #3
      Originally posted by bartonc
      Sorry, dynamo, I'm not on my development machine at the moment. I'll try to post some code tonight.
      I have not been connected to the internet of recent.The internet in my part of the world has been down.So i couldn't reply sooner thanks for the consideration.

      Comment

      • bartonc
        Recognized Expert Expert
        • Sep 2006
        • 6478

        #4
        Originally posted by dynamo
        I have not been connected to the internet of recent.The internet in my part of the world has been down.So i couldn't reply sooner thanks for the consideration.
        Thanks for the update, dynamo. I'll try to get to this very soon.

        Comment

        Working...