Re: GdkEventButton
- From: Havoc Pennington <hp redhat com>
- To: etm wkv at
- Cc: gtk-list gnome org
- Subject: Re: GdkEventButton
- Date: 18 Apr 2001 10:05:00 -0400
Jürgen Mangler <etm wkv at> writes:
>
> I'm wondering what the state property of the GdkEventButton Object shows.
> The normal behaviour is:
>
> 0 ... Double Click
> 256 ... Single Click
>
> But from time to time this behaviour changes to:
>
> 16 ... Double CLick
> 173 ... Single Click
>
The state property contains one or more of the flags in the
GdkModifierType enum, basically. On the X port, it may also have some
other bits set not in the enum that should be ignored (they indicate
the X keyboard group).
You should always get a single before a double click, though.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]