# Gimp.ExportProcedure.set_capabilities

    @accepts(Gimp.ExportProcedure, Gimp.ExportCapabilities, Gimp.ExportGetCapabilitiesFunc, gpointer, GLib.DestroyNotify)
    @returns(none)
    def set_capabilities(self, capabilities, get_capabilities_func, get_capabilities_data, get_capabilities_data_destroy):
        # Python wrapper for gimp_export_procedure_set_capabilities()

Sets default Gimp.ExportCapabilities for image export.

capabilities and get_capabilities_func are overlapping arguments. Either set capabilities if your format capabilities are stable or get_capabilities_func if they depend on other options. If get_capabilities_func is set, capabilities must be 0.

If set, get_capabilities_func will be called every time an argument in the [class@Gimp.ProcedureConfig] is edited and it will be used to edit the export capabilities dynamically.

Since 3.0

self

  a Gimp.Procedure.

capabilities

  a Gimp.ExportCapabilities bitfield.

get_capabilities_func

  callback function to update export options

get_capabilities_data

  data for get_capabilities_func

get_capabilities_data_destroy

  free function for get_capabilities_data, or None