---
name: "CL_Event_MouseEnter"
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_Event_MouseEnter"
---

# CL\_Event\_MouseEnter(3)

Event callback interface for when the mouse enters the window.

## NAME

CL\_Event\_MouseEnter - Event callback interface for when the mouse enters the window.

## DESCRIPTION

To use this interface, inherit it and implement on\_mouse\_enter(). Then add it to a CL\_EventChain\_MouseEnter chain. The topmost chain is located in CL\_Input.

Inherited from public virtual CL\_Event

## CLASS MEMBERS

- virtual **~CL\_Event\_MouseEnter**()

  - virtual bool **on\_mouse\_enter**(

  ```
   CL_InputDevice *device)
  ```

## MEMBERS WITH DESCRIPTIONS

- virtual **~CL\_Event\_MouseEnter**()

  ```
  Description:
  ```

- virtual bool **on\_mouse\_enter**(

  ```
   CL_InputDevice *device)
  ```

  ```
  Parameters:
  device - Input device where the event originates from.
  ```

  ```
  Description:
  ```

  Called when a mouse enter event occours.

## 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.
