Skip to content

Gio.StaticResource

record (struct)

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

Methods

fini

def fini(self) -> None

Finalizes a Resource initialized by StaticResource.init.

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

get_resource

def get_resource(self) -> Resource

Gets the Resource that was registered by a call to StaticResource.init.

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

init

def init(self) -> None

Initializes a Resource from static data using a StaticResource.

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

Properties

data

data: int  # read/write

data_len

data_len: int  # read/write

resource

resource: Resource  # read/write

next

next: StaticResource  # read/write

padding

padding: int  # read/write