source_set_closure


Description:


public void source_set_closure (Source source, Closure closure)

Set the callback for a source as a Closure.

If the source is not one of the standard GLib types, the closure_callback and closure_marshal fields of the SourceFuncs structure must have been filled in with pointers to appropriate functions.

Parameters:

source

the source

closure

a Closure


Namespace: GLib
Package: gobject-2.0



2022 vala-language.org