Re: GDK deprecations



On Sun, Feb 18, 2001 at 06:30:14PM +0100, Oskar Liljeblad wrote:
> On Sunday, February 18, 2001 at 11:59, Owen Taylor wrote:
> >  
> > > > (Evil - just remove?)
> > > >  gdk_key_repeat_disable
> > > >  gdk_key_repeat_restore
> > > 
> > > Ye gods.  What on earth uses these?
> > 
> > Presumably nothing, since they turn off the key repeat gobally!
> > 
> > But turning off key repeat is useful for things like games.
> > 
> > It's possible, with Xkb, for a single application to request
> > detectable keyrepeat - so you get press,press,press,release,
> > instead of press,release,press,release,press,release.
> 
> If the Xkb extensions are used in GLib, will it be possible
> to distinguish an "initial press" and "keyboard-repeat-generated"?
> I.e. press,press-held*N,release instead of press*M,release.

Correct me if wrong.. press,press,press,release apparently is an example of distinction in this mode of Xkb. That is one key press and two generated by key repeat. If it was three presses it would have been press,release,press,release,press,release

> 
> Oskar Liljeblad (osk hem passagen se)
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]