Gly.Frame

g GObject.Object GObject.Object Gly.Frame Gly.Frame GObject.Object->Gly.Frame

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_buf_bytes ()

get_delay ()

get_height ()

get_memory_format ()

get_stride ()

get_width ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gly.Frame(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Gly.FrameClass

A frame of an image often being the complete image.

New in version 1.0.

get_buf_bytes()
Returns:

Image data

Return type:

GLib.Bytes

Image data arranged according to [method`Frame`.get_memory_format]

New in version 1.0.

get_delay()
Returns:

Duration in microseconds.

Return type:

int

Duration to show frame for animations.

If the value is zero, the image is not animated.

New in version 1.0.

get_height()
Returns:

Height in pixels

Return type:

int

Height for image data in pixels

New in version 1.0.

get_memory_format()
Returns:

Format of image data

Return type:

Gly.MemoryFormat

Format of the image data in [method`Gly`.Frame.get_buf_bytes]

New in version 1.0.

get_stride()
Returns:

Row stride in bytes

Return type:

int

Width of a row for image data in bytes

New in version 1.0.

get_width()
Returns:

Width in pixels

Return type:

int

Width for image data in pixels

New in version 1.0.