supports_thread_contexts


Description:

[ Version ( since = "2.22" ) ]
public bool supports_thread_contexts ()

Checks if this supports thread-default main contexts (see [method@GLib.

MainContext.push_thread_default]) If this returns false, you cannot perform asynchronous operations on this in a thread that has a thread-default context.

Parameters:

this

a File

Returns:

Whether or not this supports thread-default contexts.