GObject.Object
Clutter.Backend
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterBackend |
Class : | Backend |
Extends: | GObject.Object |
None |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.Backend
()
Create a new Clutter.Backend
Create a new Clutter.Backend
|
||
get_double_click_distance
()
:
guint32
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
()
:
guint32
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(). owned by the ClutterBackend and should never be modified or freed
|
Clutter.Backend | |
get_font_options
()
:
cairo.FontOptions
Retrieves the font options for backend.
Retrieves the font options for backend.
The returned cairo_font_options_t is owned by the backend and should not be modified or freed
|
Clutter.Backend | |
get_resolution
()
:
gdouble
Gets the resolution for font handling on the screen.
Gets the resolution for font handling on the screen.
The resolution is a scale factor between points specified in a PangoFontDescription and cairo units. The default value is 96.0, meaning that a 10 point font will be 13 units high (10 * 96. / 72. = 13.3). Clutter will set the resolution using the current backend when initializing; the resolution is also stored in the ClutterSettings:font-dpi property. has been set.
|
Clutter.Backend | |
set_double_click_distance
(guint32 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
(guint32 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
(gdouble 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 | |
settings_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
|
Clutter.InputDevice
Property |
backend : Clutter.Backend
|
Clutter.Settings
Property |
backend : Clutter.Backend
A back pointer to the ClutterBackend
|