StaticResource#
- class StaticResource(*args, **kwargs)#
GStaticResource is an opaque data structure and can only be accessed
using the following functions.
Methods#
- class StaticResource
- fini() None#
Finalizes a
Resourceinitialized byinit.This is normally used by code generated by
`glib-compile-resources<glib-compile-resources.html>`__ and is not typically used by other code.Added in version 2.32.
- get_resource() Resource#
Gets the
Resourcethat was registered by a call toinit.This is normally used by code generated by
`glib-compile-resources<glib-compile-resources.html>`__ and is not typically used by other code.Added in version 2.32.
- init() None#
Initializes a
Resourcefrom static data using aStaticResource.This is normally used by code generated by
`glib-compile-resources<glib-compile-resources.html>`__ and is not typically used by other code.Added in version 2.32.