Clutter::Backend.3pm

Langue: en

Version: 2008-02-20 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Clutter::Backend

HIERARCHY

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

METHODS


backend = Clutter::Backend->get_default


integer = $backend->get_double_click_distance


integer = $backend->get_double_click_distance

Gets the distance set using Clutter::Backend->set_double_click_distance().

$backend->set_double_click_distance ($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


integer = $backend->get_double_click_time

Gets the time set using Clutter::Backend->set_double_click_time().

$backend->set_double_click_time ($msec)


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

double = $backend->get_resolution


double = $backend->get_resolution

Gets the resolution, in dpi, of the backend.

$backend->set_resolution ($dpi)


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

SEE ALSO

Clutter, Glib::Object Copyright (C) 2006 OpenedHand Ltd.

This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Library version 2.1, or under the terms of the Artistic License. See Clutter for the full copyright notice.