Re: setting gdk display



On Sat, 2003-10-25 at 09:40, Paul Davis wrote:
> >See the header gdk/gdkx.h; that gives access to the underlying
> >X objects for GDK objects.
> 
> that reminds me: is it likely that GDK will ever export the type of
> functionality offered by XQueryKeymap and XGetModifierMapping? i am
> using them right now, but it makes me nervous that if i wanted to port
> to a version of GDK that isn't sitting on top of X, my code won't
> work. 

I doubt it. GdkKeymap already makes more assumptions about how keyboards
work than are really portable. If something isn't portable, we can't
make it portable by adding it to GDK :-)

(Two things that we probably will add are:

 - Support for modifiers beyond control/alt/shift, with some sort
   of "virtual modifiers" approach.
 - Support for tracking Caps_Lock (and maybe other modifier) state
   (http://bugzilla.gnome.org/show_bug.cgi?id=107000)

Regards,
						Owen






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