fractional_scale_v1 Module
**************************


WpFractionalScaleManagerV1
==========================

class pywayland.protocol.fractional_scale_v1.WpFractionalScaleManagerV1

   Fractional surface scale information

   A global interface for requesting surfaces to use fractional
   scales.

   destroy() -> 'None'

      -[ Request -- opcode 0 (attached to "Resource" instance) ]-

      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,
      "WpFractionalScaleV1" objects included.

   get_fractional_scale(surface: 'WlSurfaceProxy') -> 'WpFractionalScaleV1Proxy'

      -[ Request -- opcode 1 (attached to "Resource" instance) ]-

      Extend surface interface for scale information

      Create an add-on object for the the "WlSurface" to let the
      compositor request fractional scales. If the given "WlSurface"
      already has a "WpFractionalScaleV1" object associated, the
      fractional_scale_exists protocol error is raised.

      Parameters:
         **surface** ("WlSurface") -- the surface

      Returns:
         "WpFractionalScaleV1" -- the new surface scale info interface
         id


WpFractionalScaleV1
===================

class pywayland.protocol.fractional_scale_v1.WpFractionalScaleV1

   Fractional scale interface to a "WlSurface"

   An additional interface to a "WlSurface" object which allows the
   compositor to inform the client of the preferred scale.

   destroy() -> 'None'

      -[ Request -- opcode 0 (attached to "Resource" instance) ]-

      Remove surface scale information for surface

      Destroy the fractional scale object. When this object is
      destroyed, preferred_scale events will no longer be sent.

   preferred_scale(scale: 'int') -> 'None'

      -[ Event -- opcode 0 (attached to "Proxy" instance) ]-

      Notify of new preferred scale

      Notification of a new preferred scale for this surface that the
      compositor suggests that the client should use.

      The sent scale is the numerator of a fraction with a denominator
      of 120.

      Parameters:
         **scale** (*ArgumentType.Uint*) -- the new preferred scale
