:right-sidebar: True StaticResource =================================================================== .. currentmodule:: gi.repository.Gio .. class:: StaticResource(*args, **kwargs) :no-contents-entry: :obj:`~gi.repository.Gio.StaticResource` is an opaque data structure and can only be accessed using the following functions. Methods ------- .. rst-class:: interim-class .. class:: StaticResource :no-index: .. method:: fini() -> None Finalized a GResource initialized by :func:`~gi.repository.Gio.StaticResource.init`. This is normally used by code generated by [glib-compile-resources][glib-compile-resources] and is not typically used by other code. .. versionadded:: 2.32 .. method:: get_resource() -> ~gi.repository.Gio.Resource Gets the GResource that was registered by a call to :func:`~gi.repository.Gio.StaticResource.init`. This is normally used by code generated by [glib-compile-resources][glib-compile-resources] and is not typically used by other code. .. versionadded:: 2.32 .. method:: 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. .. versionadded:: 2.32 Fields ------ .. rst-class:: interim-class .. class:: StaticResource :no-index: .. attribute:: data .. attribute:: data_len .. attribute:: next .. attribute:: padding .. attribute:: resource