set_capabilities


Description:

[ Version ( since = "3.0" ) ]
public void set_capabilities (ExportCapabilities capabilities, owned ExportGetCapabilitiesFunc? get_capabilities_func)

Sets default 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.

Parameters:

this

a Procedure.

capabilities

a 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 null