[Gambas-user] Maybe a bug in class Key of gb.gtk component

Benoit Minisini gambas at ...1...
Mon Feb 4 16:38:36 CET 2008


On lundi 4 février 2008, Leonardo Miliani wrote:
> Benoit Minisini ha scritto:
> > On samedi 29 décembre 2007, Leonardo Miliani wrote:
> >> I'm using Gambas 1.9.92 on Ubuntu 7.10.
> >> I think I had discovered a little bug in class Key of gb.gtk component.
> >> If I try to get the code of a pressed key (using the keypress event) I
> >> get this error:
> >> "No keyboard event data".
> >>
> >> But if I build the same project with the gb.qt component, my code works
> >> fine.
> >>
> >>
> >> I can easily reproduce the bug creating a new GTK project and in the
> >> form right-click and choose "Event/KeyPress". After that, write in the
> >> event block this code:
> >> message (key.code)
> >>
> >> Now run it....
> >> After that, open the Project/Properties from the menu, deselect the
> >> gb.gtk component, select the gb.qt, and try again.
> >
> > I finally fixed the bug in the last revision (1057).
> >
> > Regards,
>
> Thanks a lot. I'll try it.
> Any news about the problem of the sys-tray icon on Gnome?

It's a later post on the mailing-list, I didn't arrive until it yet. :-)

-- 
Benoit Minisini




More information about the User mailing list