[Tutor] Creating menu shortcut key bindings
Alan Gauld
alan.gauld at yahoo.co.uk
Thu Jun 1 17:23:34 EDT 2023
On 01/06/2023 12:35, David wrote:
> Your event sequence does not specify any event type [2].
>
> Some event sequences allow the event type to be omitted
> for brevity. For example [3]:
> 'x' is the same as '<KeyPress-x>'
>
> However, I suspect that what you have might not be recognised.
> Looking at working code I have here (without actually
> testing what you have) I see that I have:
> '<Control-KeyPress-o>'
I have code that binds <Control-space> and it works OK.
I suspect the widget might be the issue. But its all speculation
without knowing how the GUI builder constructs things.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list