wp_fractional_scale_manager_v1¤
wayland.wp_fractional_scale_manager_v1 ¤
Fractional surface scale information
A global interface for requesting surfaces to use fractional scales.
Methods:
-
destroy
–Unbind the fractional surface scale interface
-
get_fractional_scale
–Extend surface interface for scale information
error ¤
-
fractional_scale_exists
–The surface already has a `fractional_scale` object associated
destroy ¤
destroy() -> None
Unbind the fractional surface scale interface
Informs the server that the client will not be using this protocol object anymore. This does not affect any other objects, wp_fractional_scale_v1 objects included.
get_fractional_scale ¤
get_fractional_scale(surface: wl_surface) -> wp_fractional_scale_v1
Extend surface interface for scale information
Create an add-on object for the the wl_surface to let the compositor request fractional scales. If the given wl_surface already has a wp_fractional_scale_v1 object associated, the fractional_scale_exists protocol error is raised.
Parameters:
-
surface
¤wl_surface
) –The surface
Returns:
-
wp_fractional_scale_v1
(wp_fractional_scale_v1
) –The created object