find_profile_by_filename_sync


Description:

[ Version ( since = "0.1.3" ) ]
public Profile find_profile_by_filename_sync (string filename, Cancellable? cancellable = null) throws Error

Finds a color profile from its filename.

WARNING: This function is synchronous, and may block. Do not use it in GUI applications.

Parameters:

this

a Client instance.

filename

filename for the profile

cancellable

a Cancellable, or null

Returns:

A Profile object, or null for error




2022 vala-language.org