GObject.Object
Clutter.Backend
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterBackend |
Class : | Backend |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
parent_instance : GObject.Object
read only
|
Clutter.Backend | |
priv : Clutter.BackendPrivate
read only
|
Clutter.Backend |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.Backend
(Object properties)
Create a new Clutter.Backend
Create a new Clutter.Backend
|
||
get_double_click_distance
()
:
Number
Retrieves the distance used to verify a double click event
Retrieves the distance used to verify a double click event
|
Clutter.Backend | |
get_double_click_time
()
:
Number
Gets the maximum time between two button press events, as set by clutter_backend_set_double_click_time().
Gets the maximum time between two button press events, as set by clutter_backend_set_double_click_time().
|
Clutter.Backend | |
get_font_name
()
:
String
Retrieves the default font name as set by clutter_backend_set_font_name().
Retrieves the default font name as set by clutter_backend_set_font_name().
|
Clutter.Backend | |
get_font_options
()
:
cairo.FontOptions
Retrieves the font options for backend.
Retrieves the font options for backend.
|
Clutter.Backend | |
get_resolution
()
:
Number
Gets the resolution for font handling on the screen; see clutter_backend_set_resolution() for full details.
Gets the resolution for font handling on the screen; see clutter_backend_set_resolution() for full details.
|
Clutter.Backend | |
set_double_click_distance
(Number distance)
:
none
Sets the maximum distance used to verify a double click event.
Sets the maximum distance used to verify a double click event.
|
Clutter.Backend | |
set_double_click_time
(Number msec)
:
none
Sets the maximum time between two button press events, used to verify whether it's a double click event or not.
Sets the maximum time between two button press events, used to verify whether it's a double click event or not.
|
Clutter.Backend | |
set_font_name
(String font_name)
:
none
Sets the default font to be used by Clutter.
Sets the default font to be used by Clutter. The font_name string must either be NULL, which means that the font name from the default ClutterBackend will be used; or be something that can be parsed by the pango_font_description_from_string() function.
|
Clutter.Backend | |
set_font_options
(FontOptions options)
:
none
Sets the new font options for backend.
Sets the new font options for backend. The ClutterBackend will copy the cairo_font_options_t. If options is NULL, the first following call to clutter_backend_get_font_options() will return the default font options for backend. This function is intended for actors creating a Pango layout using the PangoCairo API.
|
Clutter.Backend | |
set_resolution
(Number dpi)
:
none
Sets the resolution for font handling on the screen.
Sets the resolution for font handling on the screen. This is a scale factor between points specified in a PangoFontDescription and cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3). Applications should never need to call this function.
|
Clutter.Backend |
Event | Defined By | |
---|---|---|
font_changed (Backend self)
:
none
|
Clutter.Backend | |
resolution_changed (Backend self)
:
none
|
Clutter.Backend |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter
Method |
Clutter.get_default_backend
()
:
Clutter.Backend
Retrieves the default ClutterBackend used by Clutter.
|
Clutter.DeviceManager
Property |
backend : Clutter.Backend
|