[Gambas-user] Bug with GTK+
Benoît Minisini
gambas at ...1...
Tue Dec 16 03:10:51 CET 2014
Le 14/12/2014 18:46, Jussi Lahtinen a écrit :
>>
>> Disabling a control, then re-enabling it, then giving it focus back
>> inside a keypress event is not a good idea.
>
>
> The keypress event waits for enter key as sign of end of user input.
> Then the idea is to disable user input while data is shown in other control.
> This was first thing in my mind how to do it.
>
>
> Jussi
But there is no need to disable the control, re-enabling it, then giving
it focus back. What for? Just disable it when enter is hit.
--
Benoît Minisini
More information about the User
mailing list