---
name: "CL_GMouseButtonEvent"
section: "3"
platform: "linux"
package: "clanlib0-common-dev"
version: "0.4.4-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/CL_GMouseButtonEvent"
---

# CL\_GMouseButtonEvent(3)

## NAME

CL\_GMouseButtonEvent

## DESCRIPTION

/

Inherited from public CL\_GEvent

## CLASS MEMBERS

- **enum ButtonType**(

  ```
   BUTTON_LEFT = 1 << 0,
  BUTTON_RIGHT = 1 << 1,
  BUTTON_MIDDLE = 1 << 2 )
  ```

- **enum StateType**(

  ```
   PRESSED,
  RELEASED )
  ```

- **CL\_GMouseButtonEvent**(

  ```
  int state,
  int buttons,
  CL_GPoint pos)
  ```

- int **state**()

  - int **buttons**()

  - CL\_GPoint **position**()

  ## MEMBERS WITH DESCRIPTIONS

- **enum ButtonType**(

  ```
   BUTTON_LEFT = 1 << 0,
  BUTTON_RIGHT = 1 << 1,
  BUTTON_MIDDLE = 1 << 2 )
  ```

  ```
  Description:
  ```

  /

- **enum StateType**(

  ```
   PRESSED,
  RELEASED )
  ```

  ```
  Description:
  ```

  /

- **CL\_GMouseButtonEvent**(

  ```
  int state,
  int buttons,
  CL_GPoint pos)
  ```

  ```
  Description:
  ```

  /

- int **state**()

  ```
  Description:
  ```

  /

- int **buttons**()

  ```
  Description:
  ```

  /

- CL\_GPoint **position**()

  ```
  Description:
  ```

  /

## SEE ALSO

All ClanLib API classes can be found in **clanlib (3)**.

## AUTHORS

Originally written by Magnus Norddahl \<*mbn@dark.x.dtu.dk*\> and Martin Starch \<*starch@dark.x.dtu.dk*\>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at **http://somewhere.in.the.world.org**).

See **clanlib (3)** to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.
