---
name: "Clutter::Backend"
section: "3pm"
platform: "linux"
package: "libclutter-perl"
version: "1.002-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Clutter::Backend"
---

# Clutter::Backend(3pm)

Clutter Backend abstraction

## NAME

Clutter::Backend - Clutter Backend abstraction

## DESCRIPTION

Clutter can be compiled against different backends. Each backend has to implement a set of functions, in order to be used by Clutter.

**Clutter::Backend** is the base class abstracting the various implementation; it provides a basic API to query the backend for generic information and settings.

## HIERARCHY

```
  Glib::Object
  +----Clutter::Backend
```

## METHODS

### backend = Clutter::Backend-\>get\_default

### integer = $backend-\>get\_double\_click\_distance

Gets the distance set using Clutter::Backend-\>*set\_double\_click\_distance()*.

### $backend-\>set\_double\_click\_distance ($distance)

- •

  `$distance` (integer)

Sets the distance, in pixels, between to button press events that will be used to verify if a double click event should be emitted.

### integer = $backend-\>get\_double\_click\_time

Gets the time set using Clutter::Backend-\>*set\_double\_click\_time()*.

### $backend-\>set\_double\_click\_time ($msec)

- •

  `$msec` (integer)

Sets the time, in millisecond, between two button press events that will be used to verify if a double click event should be emitted.

### fontoptions = $backend-\>get\_font\_options

### $backend-\>set\_font\_options ($options)

- •

  `$options` (Cairo::FontOptions or undef)

### double = $backend-\>get\_resolution

Gets the resolution, in dpi, of the backend.

### $backend-\>set\_resolution ($dpi)

- •

  `$dpi` (double)

Sets the resolution, in dpi, of the backend. The resolution is used when transforming the font size from points to pixels.

Applications should never use this function.

## SIGNALS

- **resolution-changed** (Clutter::Backend)

  - **font-changed** (Clutter::Backend)

  ## SEE ALSO

Clutter, Glib::Object

## COPYRIGHT

Copyright (C) 2006, 2007, 2008  OpenedHand Ltd

Copyright (C) 2009  Intel Corporation

This module is free software; you can redistribute it and/or modify it under the terms of either:

- •

  the GNU Lesser General Public Library version 2.1; or

- •

  the Artistic License, version 2.0.

See Clutter for the full copyright notice.
