Re: Removing an accelerator from a menu
- From: Bryan Oakley <oakley@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 30 Apr 2008 13:10:45 -0500
Robert Lipman wrote:
Hi,
I have a menu that has the list of most recently used files. When I
generate it I assign an accelerator key to the first file in the list.
New files are inserted to the top of the list. However, now I want to
remove the accelerator from what was the first file in the list which
is now the second file list. Of course when the new file is inserted
the accelerator is added too.
How do I do that? I tried using entryconfigure without success, but
that seems to the most logical way to do it.
Thanks,
Bob Lipman
entryconfigure is the only choice (other than to destroy and recreate the whole menu each time).
If entryconfigure isn't working for you, create a small bit of code that reproduces the problem and we can help you out.
.
- References:
- Removing an accelerator from a menu
- From: Robert Lipman
- Removing an accelerator from a menu
- Prev by Date: Re: query ttk::treeview for all nodes?
- Next by Date: Re: Package Require getting "wrong version"
- Previous by thread: Removing an accelerator from a menu
- Index(es):