ref_main_context


Description:

[ Version ( since = "3.8" ) ]
public MainContext ref_main_context ()

Returns the MainContext on which event sources for this are to be attached.

The returned MainContext is referenced for thread-safety and must be unreferenced with g_main_context_unref when finished with it.

Parameters:

this

an Client

Returns:

a MainContext