[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public void set_load_data_async (bool load_async)
Warning: set_load_data_async is deprecated since 1.12.
Sets whether this should use a worker thread to load the data from disk asynchronously.
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
block until the Texture has determined the width and height of the image data.
See the load_async property documentation, and set_load_async.
this |
a Texture |
load_async |
|