Gimp.get_plug_in

function get_plug_in(): Gimp.PlugIn {
    // Gjs wrapper for gimp_get_plug_in()
}
  

This function returns the plug-in's Gimp.PlugIn instance, which is a a singleton that can exist exactly once per running plug-in.

Since 3.0

Returns

The plug-in's Gimp.PlugIn singleton.