Grx.Event.handler_source_new
@returns(GLib.Source) def handler_source_new(): # Python wrapper for grx_event_handler_source_new()
Creates a new source that will be dispatched when events occur.
The source will not initially be associated with any GLib.MainContext and must be added to one with g_source_attach() before it will be executed. The callback function (set with g_source_set_callback()) is expected to be a Grx.EventHandlerFunc.
Generally, you will want to use Grx.event_handler_add instead.
- Returns