Gimp.enums_init

function enums_init(): void {
    // Gjs wrapper for gimp_enums_init()
}
  

This function makes sure all the enum types are registered with the GLib.Type system. This is intended for use by language bindings that need the symbols early, before gimp_main is run. It's not necessary for plug-ins to call this directly, because the normal plug-in initialization code will handle it implicitly.

Since 2.4