On Oct 4, 11:05 am, galyle wrote:
> On Oct 4, 9:45 am, woooee wrote:
>
>
>
>
>
>
>
>
>
> > Sorry, I did not understand the question correctly, and so have added
> > another focus_set for the entry after the menu's creation. You can
> > still enter after the menu comes up, even though you can't s
On Oct 4, 9:45 am, woooee wrote:
> Sorry, I did not understand the question correctly, and so have added
> another focus_set for the entry after the menu's creation. You can
> still enter after the menu comes up, even though you can't see where
> you are entering.
>
> import Tkinter
>
> class dem
Sorry, I did not understand the question correctly, and so have added
another focus_set for the entry after the menu's creation. You can
still enter after the menu comes up, even though you can't see where
you are entering.
import Tkinter
class demo:
def __init__(self, parent):
self.
Adding focus_set seems to work for me. What do want to do
differently?
import Tkinter
class demo:
def __init__(self, parent):
self._entry = Tkinter.Entry(width = 60)
self._suggestions = Tkinter.Menu(parent, tearoff = 0,
takefocus = 0)
self._entry.pack(padx = 20, pady
On Oct 3, 2:40 pm, rantingrick wrote:
> On Oct 3, 2:55 pm, galyle wrote:
>
> > Hello, I'm trying to build a menu which provides suggestions to a user
> > based on input to an entry. I have done something like this before
> > using Tcl/Tk, so I expected that it would work without much difficulty
On Oct 3, 2:55 pm, galyle wrote:
> Hello, I'm trying to build a menu which provides suggestions to a user
> based on input to an entry. I have done something like this before
> using Tcl/Tk, so I expected that it would work without much difficulty
> with Tkinter. I was wrong.
Why not just use
Hello, I'm trying to build a menu which provides suggestions to a user
based on input to an entry. I have done something like this before
using Tcl/Tk, so I expected that it would work without much difficulty
with Tkinter. I was wrong.
The problem I have is that, as soon as the menu is posted, i