StaticResource

#GStaticResource 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 g_static_resource_init().

getResource
Resource getResource()

Gets the GResource that was registered by a call to g_static_resource_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

ownedRef
bool ownedRef;
Undocumented in source.

Meta