set_preview_func


Description:

public void set_preview_func (owned PreviewRunFunc func)

Set preview function.

Use this call to set the preview function. The preview function should be set right after the call to unity_simple_scope_new(). Note that by default the preview function will be invoked in a separate thread, if you want to change that behavior use the set_preview_async_func() method instead. You must call either this method or the async variant set_preview_async_func() to make this instance fully usable.




2022 vala-language.org