Companion

object Companion

Functions

Link copied to clipboard
fun getType(): <Error class: unknown class>

Get the GType of Resource

Link copied to clipboard
fun load(filename: String): <Error class: unknown class><Resource>

Loads a binary resource bundle and creates a #GResource representation of it, allowing you to query it for data.

Link copied to clipboard
fun newFromData(data: <Error class: unknown class>): <Error class: unknown class><Resource>

Creates a GResource from a reference to the binary resource bundle. This will keep a reference to @data while the resource lives, so the data should not be modified or freed.