1gii_pbutton_event(3)                  GGI                 gii_pbutton_event(3)
2
3
4

NAME

6       gii_pbutton_event : LibGII pointer button events
7

SYNOPSIS

9       #include <ggi/events.h>
10
11       typedef struct gii_pbutton_event {
12
13           COMMON_DATA;
14
15           uint32_t  button;
16
17       } gii_pbutton_event;
18
19

DESCRIPTION

21       Button  events  are  sent  to  report a change in pointer button state.
22       Depending on the event type, the button  is  either  being  pressed  or
23       released.
24

GENERATED EVENTS

26       This  structure  is  used  for  evPtrButtonPress and evPtrButtonRelease
27       events.
28

STRUCTURE MEMBERS

30       gii_pbutton_event simply  specifies  that  the  button  is  pressed  or
31       released.
32
33       Pointer  buttons  are  specified in order of common usage, with 1 being
34       the primary button. The following values are defined:
35
36       ·   GII_PBUTTON_LEFT, GII_PBUTTON_PRIMARY, GGI_PBUTTON_FIRST equal 1.
37
38       ·   GII_PBUTTON_RIGHT, GII_PBUTTON_SECONDARY, GGI_PBUTTON_SECOND  equal
39           2.
40
41       ·   GII_PBUTTON_MIDDLE,  GII_PBUTTON_TERTIARY,  GGI_PBUTTON_THIRD equal
42           3.
43
44       Of course, applications should avoid hardcoding mouse button values.
45

SEE ALSO

47       gii_event(3)
48
49
50
51libgii-1.0.x                      2006-12-30              gii_pbutton_event(3)
Impressum