[Gambas-user] Control + key combination detection Q

Benoît Minisini gambas at ...1...
Fri Oct 8 15:05:23 CEST 2010


> > 
> > It works as expected with gb.qt4.
> > 
> > That Key.Code is the code of the CTRL key. You receive it when the CTRL
> > key
> > 
> >  is pressed, not when the R key is pressed.
> > 
> > Note that gb.gtk makes a difference between the Key.Code of 'R' and 'r',
> > whereas it should not. I will try to fix that.
> > 
> > Regards,
> 
> Sorry to be dumb, then how can I dectect Crl R?
> 

I think I understand the problem: apparently keypress events are lost when 
they are used by a menu shortcut. I don't see them anymore, even in the event 
loop.

No idea why, it didn't work like that before, so I think Qt4 has changed 
something recently about that.

I will investigate...

-- 
Benoît Minisini




More information about the User mailing list