[ Version ( deprecated = true , deprecated_since = "1.1" ) ]
public bool set_sprite_sheet_data (Pixbuf sprites_pixbuf, string sprites_json) throws Error
Warning: set_sprite_sheet_data is deprecated since 1.1.
Sets the sprite sheet used by the style JSON to render icons and textures.
Use the methods of [property@VectorRenderer:sprite-sheet] instead.
The existing [property@VectorRenderer:sprite-sheet] property will be replaced with a new instance of [class@VectorSpriteSheet].
| this |
a [class@VectorRenderer] |
| sprites_pixbuf |
a [class@GdkPixbuf.Pixbuf] |
| sprites_json |
a JSON string |
|
whether the sprite sheet was loaded successfully |