Hi
I am new to wx (I started using it for an ERP open source project that
is still an alpha release)
http://code.google.com/p/gestionlibre
We are using an html widget for interaction with the user (custom
input, show information, reports) based on a web2py - wxPython
interface developed by Mariano Reingart (http://code.google.com/p/
gui2py).
The actual question: Where can I get basic information for handling
user key combinations. I know there is lot of stuff on the topic but
what would be a starting point for a new developer?
What I am trying to accomplish is to handle key-combinations defined
"on-the-fly" when the html widget is updated (each html content might
have it's own keboard shortcuts)
Thanks
1. If you are interested in changing or adding keyboard shortcuts to
your app (frame) Than you should use the wx.AcceleratorTable.
you can find an excellent tutorial here:
http://www.blog.pythonlibrary.org/2010/12/02/wxpython-keyboard-shortc…
2. You may also use this function wxPython API Documentation — wxPython Phoenix 4.2.2 documentation
to bind any combination of keyboard keys to an event.
3. You may also use pyHook to hook the keyboard events.
···
On Jan 20, 2:28 pm, Alan Etkin <spame...@gmail.com> wrote:
Hi
I am new to wx (I started using it for an ERP open source project that
is still an alpha release)Google Code Archive - Long-term storage for Google Code Project Hosting.
We are using an html widget for interaction with the user (custom
input, show information, reports) based on a web2py - wxPython
interface developed by Mariano Reingart (Google Code Archive - Long-term storage for Google Code Project Hosting.
gui2py).
The actual question: Where can I get basic information for handling
user key combinations. I know there is lot of stuff on the topic but
what would be a starting point for a new developer?
What I am trying to accomplish is to handle key-combinations defined
"on-the-fly" when the html widget is updated (each html content might
have it's own keboard shortcuts)
Thanks
Thank you very much Michael, I visited the links and they are very
useful.
···
On 22 ene, 05:11, Michael Gorelik <smgore...@gmail.com> wrote:
1. If you are interested in changing or adding keyboard shortcuts to
your app (frame) Than you should use the wx.AcceleratorTable.
you can find an excellent tutorial here:http://www.blog.pythonlibrary.org/2010/12/02/wxpython-keyboard-shortc…
2. You may also use this functionhttp://wxpython.org/docs/api/wx.Window-class.html#RegisterHotKey
to bind any combination of keyboard keys to an event.
3. You may also use pyHook to hook the keyboard events.
On Jan 20, 2:28 pm, Alan Etkin <spame...@gmail.com> wrote:
> Hi
> I am new to wx (I started using it for an ERP open source project that
> is still an alpha release)Google Code Archive - Long-term storage for Google Code Project Hosting.
> We are using an html widget for interaction with the user (custom
> input, show information, reports) based on a web2py - wxPython
> interface developed by Mariano Reingart (Google Code Archive - Long-term storage for Google Code Project Hosting.
> gui2py).
> The actual question: Where can I get basic information for handling
> user key combinations. I know there is lot of stuff on the topic but
> what would be a starting point for a new developer?
> What I am trying to accomplish is to handle key-combinations defined
> "on-the-fly" when the html widget is updated (each html content might
> have it's own keboard shortcuts)
> Thanks