set_load_async


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public void set_load_async (bool load_async)

Warning: set_load_async is deprecated since 1.12.

Sets whether this should use a worker thread to load the data from disk asynchronously.

Note:

There is no direct replacement for this function.

Use Image and platform-specific API for loading image data asynchronously, like GdkPixbuf

Setting load_async to true will make set_from_file return immediately.

See the load_async property documentation, and set_load_data_async.

Parameters:

this

a Texture

load_async

true if the texture should asynchronously load data from a filename