Gio.StaticResource¶
Fields¶
| Name | Type | Access | Description |
|---|---|---|---|
| data | int |
r | |
| data_len | int |
r | |
| next | Gio.StaticResource |
r | |
| padding | object |
r | |
| resource | Gio.Resource |
r |
Methods¶
fini () |
|
get_resource () |
|
init () |
Details¶
-
class
Gio.StaticResource¶ Gio.StaticResourceis an opaque data structure and can only be accessed using the following functions.-
fini()[source]¶ Finalized a
Gio.Resourceinitialized byGio.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 Gio.ResourceReturn type: Gio.ResourceGets the
Gio.Resourcethat was registered by a call toGio.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
Gio.Resourcefrom static data using aGio.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.
-