Gimp.Procedure.prototype.get_icon_type

function get_icon_type(): Gimp.IconType {
    // Gjs wrapper for gimp_procedure_get_icon_type()
}
  

Gets the type of data set as procedure's icon. Depending on the result, you can call the relevant specific function, such as [method@Procedure.get_icon_name].

Since 3.0

Returns

the Gimp.IconType of procedure's icon.