Re: Question: Optional Regular Expression Grouping

2011-10-10 Thread galyle
On Oct 10, 4:59 pm, Vlastimil Brom wrote: > 2011/10/10 galyle : > > > > > > > > > > > HI, I've looked through this forum, but I haven't been able to find a > > resolution to the problem I'm having (maybe I didn't look hard enough >

Question: Optional Regular Expression Grouping

2011-10-10 Thread galyle
HI, I've looked through this forum, but I haven't been able to find a resolution to the problem I'm having (maybe I didn't look hard enough -- I have to believe this has come up before). The problem is this: I have a file which has 0, 2, or 3 groups that I'd like to record; however, in the case of

Re: Question: How to Prevent Tkinter Menu from Taking Keyboard Focus

2011-10-04 Thread galyle
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

Re: Question: How to Prevent Tkinter Menu from Taking Keyboard Focus

2011-10-04 Thread galyle
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

Re: Question: How to Prevent Tkinter Menu from Taking Keyboard Focus

2011-10-03 Thread galyle
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

Question: How to Prevent Tkinter Menu from Taking Keyboard Focus

2011-10-03 Thread galyle
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