Class StaticResource

All Implemented Interfaces:
PointerInterface

public class StaticResource extends Record
#GStaticResource is an opaque data structure and can only be accessed
using the following functions.

https://docs.gtk.org/gio/struct.StaticResource.html

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • fini

      public void fini()
      Finalized a GResource initialized by g_static_resource_init().

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

      public Resource getResource()
      Gets the GResource that was registered by a call to g_static_resource_init().

      This is normally used by code generated by
      [glib-compile-resources][glib-compile-resources]
      and is not typically used by other code.
      Returns:
      a #GResource
    • init

      public void init()
      Initializes a GResource from static data using a
      GStaticResource.

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