Source.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(glib.types.SourceFuncs sourceFuncs, uint structSize)

Creates a new #GSource structure. The size is specified to allow creating structures derived from #GSource that contain additional data. The size passed in must be at least sizeof (GSource).

The source will not initially be associated with any #GMainContext and must be added to one with [glib.source.Source.attach] before it will be executed.

Parameters

sourceFuncsstructure containing functions that implement the sources behavior.
structSizesize of the #GSource structure to create.

Returns

the newly-created #GSource.