get_context


Description:

public unowned MainContext get_context ()

Get the MainContext of the thread used by this object.

Useful when you want to invoke object thread to do some action in it from a different thread.

Parameters:

this

a ThreadedObject

Returns:

a MainContext of the object used thread.