suil_ui_supported — Suil 0.10.18 documentation

# suil_ui_supported

unsigned suil_ui_supported(const char *host_type_uri, const char *ui_type_uri)

  Check if suil can wrap a UI type.

  Parameters:

    - host_type_uri – The URI of the desired widget type of the host, corresponding to the `type_uri` parameter of `suil_instance_new()`.

    - ui_type_uri – The URI of the UI widget type.

  Returns:

    0 if wrapping is unsupported, otherwise the quality of the wrapping where 1 is the highest quality (direct native embedding with no wrapping) and increasing values are of a progressively lower quality and/or stability.