GdkPixbuf.PixbufSimpleAnim¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | GdkPixbuf.PixbufAnimation (10), GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new(width, height, rate) | 
| add_frame(pixbuf) | |
| get_loop() | |
| set_loop(loop) | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| loop | bool | r/w | Whether the animation should loop when it reaches the end | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Fields¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class GdkPixbuf.PixbufSimpleAnim(**kwargs)¶
- Bases: - GdkPixbuf.PixbufAnimation- Abstract: - No - Structure: - GdkPixbuf.PixbufSimpleAnimClass- An opaque struct representing a simple animation. - 
classmethod new(width, height, rate)[source]¶
- Parameters: - Returns: - a newly allocated - GdkPixbuf.PixbufSimpleAnim- Return type: - Creates a new, empty animation. - New in version 2.8. 
 - 
add_frame(pixbuf)[source]¶
- Parameters: - pixbuf ( - GdkPixbuf.Pixbuf) – the pixbuf to add- Adds a new frame to self. The pixbuf must have the dimensions specified when the animation was constructed. - New in version 2.8. 
 
- 
classmethod