StaticResource

class StaticResource(*args, **kwargs)

StaticResource is an opaque data structure and can only be accessed using the following functions.

Methods

class StaticResource
fini() None

Finalized a GResource initialized by init().

This is normally used by code generated by [glib-compile-resources][glib-compile-resources] and is not typically used by other code.

Added in version 2.32.

get_resource() Resource

Gets the GResource that was registered by a call to init().

This is normally used by code generated by [glib-compile-resources][glib-compile-resources] and is not typically used by other code.

Added in version 2.32.

init() None

Initializes a GResource from static data using a GStaticResource.

This is normally used by code generated by [glib-compile-resources][glib-compile-resources] and is not typically used by other code.

Added in version 2.32.

Fields

class StaticResource
data
data_len
next
padding
resource