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.StaticResource is an opaque data structure and can only be accessed using the following functions.

fini()[source]

Finalized a Gio.Resource initialized by 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 Gio.Resource
Return type:Gio.Resource

Gets the Gio.Resource that was registered by a call to 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 Gio.Resource from static data using a 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.