Gio.StaticResource¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
data |
r |
||
data_len |
r |
||
next |
r |
||
padding |
r |
||
resource |
r |
Methods¶
|
|
|
|
|
Details¶
- class Gio.StaticResource¶
GStaticResource
is an opaque data structure and can only be accessed using the following functions.- fini()[source]¶
Finalizes a [struct`Gio`.Resource] initialized by [method`Gio`.StaticResource.init].
This is normally used by code generated by glib-compile-resources and is not typically used by other code.
New in version 2.32.
- get_resource()[source]¶
- Returns:
a [struct`Gio`.Resource]
- Return type:
Gets the [struct`Gio`.Resource] that was registered by a call to [method`Gio`.StaticResource.init].
This is normally used by code generated by glib-compile-resources and is not typically used by other code.
New in version 2.32.
- init()[source]¶
Initializes a [struct`Gio`.Resource] from static data using a [struct`Gio`.StaticResource].
This is normally used by code generated by glib-compile-resources and is not typically used by other code.
New in version 2.32.