Re: Checking modifier keys at any moment
- From: rsteinke w-link net
- To: madmaxer poczta fm, gtk-list gnome org
- Subject: Re: Checking modifier keys at any moment
- Date: Thu, 18 Jul 2002 13:45:55 -0700
From: Jarek Dukat <madmaxer poczta fm>
>
> I have a handler for GtkTreeView's row_activated and I'd like to check
> there if at the moment of signal emision any modifier key (I'm mostly
> interested in shift and mod1 keys) is pressed. Is there any gtk function
> that returns current state of these keys at any moment?
> I use Gtk+ 2.0.5.
You should be able to extract this information using
gdk_window_get_pointer().
Ron Steinke
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]