StaticResource

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

Constructors

this
this(GStaticResource* gStaticResource, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

fini
void fini()

Finalized a GResource initialized by StaticResource.init.

getResource
Resource getResource()

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

getStaticResourceStruct
GStaticResource* getStaticResourceStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

init
void init()

Initializes a GResource from static data using a GStaticResource.

Variables

gStaticResource
GStaticResource* gStaticResource;

the main Gtk struct