On 26 Nov 2002, Sven Neumann wrote:
yes. in effect it works fine for a window being a TOPLEVEL but it stops working for my POPUP. what's the difference between a toplevel and a popup regarding key-release events? M. > Hi, > > Marco Lettere <[EMAIL PROTECTED]> writes: > > > I' m creating a fullscreen popup on which I render an opengl screen. This > > popup is created upon a button press on the main application window which > > is a toplevel. > > I'm trying to catch keyboard strokes on the popup connetting to the > > signals "key-pressed" and "key-released" and I also grab the focus to the > > popup. > > Key press events work fine but key release events are ignored. > > did you add GDK_KEY_RELEASE_MASK to the widget's event mask ? > > > Salut, Sven > > _______________________________________________ > gtk-list mailing list > [EMAIL PROTECTED] > http://mail.gnome.org/mailman/listinfo/gtk-list > ____ _____ | _ \ ___ ___ _ __| ____| | | | |/ __/ _ \| '__| _| | |_| | (_| (_) | | | |___ |____/ \___\___/|_| |_____| _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
