Re: [pygtk] Deselecting the text from an Entry the first time it appears.

2010-11-22 Thread Fabrice Delente
> > You have to set the position *after* you show the entry. > >self.interfacePourNombres.show_all() >self.zonePourNombres.set_position(1) # Or use -1 to always put the > cursor at the end > Thanks! That did it! -- Fabrice DELENTE ___

Re: [pygtk] Deselecting the text from an Entry the first time it appears.

2010-11-21 Thread Timo
On 21-11-10 14:57, Fabrice Delente wrote: Hello. I have a DrawingArea that responds to keyboard event. I want that, when I press 1-9, an Entry pops up, in which I can type a number whose first digit is the digit that made the Entry pop up. I have nearly succeeded, however when the Entry p

[pygtk] Deselecting the text from an Entry the first time it appears.

2010-11-21 Thread Fabrice Delente
Hello. I have a DrawingArea that responds to keyboard event. I want that, when I press 1-9, an Entry pops up, in which I can type a number whose first digit is the digit that made the Entry pop up. I have nearly succeeded, however when the Entry pops up the digit is selected, so that when I ty