Clutter::Backend.3pm

Langue: en

Version: 2010-08-25 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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