aidave
February 25th, 2009, 05:11 AM
Hi, I am currently developing an open source program called "Kabikaboo" to help assist in novel writing. I am learning Python, GTK, etc, while doing so. Kabikaboo is very functional, but one thing is stumping me:
I do not know how to enable Ctrl+V, Ctrl+C, and other shortcuts inside of a TextView.
When I print the keys from a callback, it shows the user hitting the V key, and the Ctrl key, but no values for Ctrl+V when pressed together, nor Ctrl+AnyKey.
The funny thing is, the popup menu for the TextView has working cut-n-paste. It is only the keyboard shortcuts that don't work. I need those to work for it to be user-friendly.
Can anyone help, please?
thanks,
Dave
Code is available here:
https://sourceforge.net/projects/kabikaboo/
I do not know how to enable Ctrl+V, Ctrl+C, and other shortcuts inside of a TextView.
When I print the keys from a callback, it shows the user hitting the V key, and the Ctrl key, but no values for Ctrl+V when pressed together, nor Ctrl+AnyKey.
The funny thing is, the popup menu for the TextView has working cut-n-paste. It is only the keyboard shortcuts that don't work. I need those to work for it to be user-friendly.
Can anyone help, please?
thanks,
Dave
Code is available here:
https://sourceforge.net/projects/kabikaboo/