get_current


Description:

public static unowned Context? get_current ()

Get the Context that is currently executing a function.

This should only be called within a function or method callback, otherwise null will be returned.

Returns:

the Context that is currently executing.