get_context


Description:

[ Version ( since = "0.11.2" ) ]
public unowned Context? get_context ()

Get the Context associated with this component.

This function may return null if no context is set (which will be the case if the component was not loaded from a file or cache but constructed in memory).

Parameters:

this

a Component instance.

Returns:

the associated Context or null