invokeFull

fun invokeFull(priority: Int, function: SourceFunc)

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

This function is the same as method@GLib.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.

Since

2.28

Parameters

priority

the priority at which to run @function

function

function to call