Gly.FrameRequest
Description: Reference for Gly.FrameRequest

### Class

# GlyFrameRequest

since: 2.0

#### Description [src]

    final class Gly.FrameRequest : GObject.Object
    {
      /* No available fields */
    }

Defines which parts of an image to load.

Warning

Loaders can and frequently will ignore instructions set in `GlyFrameRequest`. The reason is that for most loaders many instructions don’t have a meaningful interpretation.

Available since: 2.0

#### Ancestors

- GObject

#### Constructors

###### gly_frame_request_new

Creates a new frame request.

since: 2.0

#### Instance methods

###### gly_frame_request_set_loop_animation

Controls if first frame is returned after last frame.

since: 2.0.1

###### gly_frame_request_set_scale

Set maximum dimensions for the frame. The texture will be scaled to be within the maximum dimensions while keeping its aspect ratio. This option is especially useful to SVGs which will be rendered at the respective size.

since: 2.0

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Gly.FrameRequest:loop-animation

No description available.

###### Gly.FrameRequest:scale-height

No description available.

###### Gly.FrameRequest:scale-width

No description available.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct GlyFrameRequestClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.