Clutter::Backend3pm
Clutter backend abstraction
Overview
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)
Releases
2 releases since Debian 5.0 (Lenny); the text changed 1 time.