Source.setPriority

Sets the priority of a source. While the main loop is being run, a source will be dispatched if it is ready to be dispatched and no sources at a higher (numerically smaller) priority are ready to be dispatched.

class Source
void
setPriority
()

Parameters

priority int

the new priority.

Meta