MainContext.invokeFull

Invokes a function in such a way that context is owned during the invocation of function.

This function is the same as glib.main_context.MainContext.invoke except that it lets you specify the priority in case function ends up being scheduled as an idle and also lets you give a #GDestroyNotify for data.

notify should not assume that it is called from any particular thread or with any particular context acquired.

class MainContext
void
invokeFull

Parameters

priority int

the priority at which to run function

function_ glib.types.SourceFunc

function to call