'Schedule a callback function to execute after a given delay.
:param name: A unique name for the scheduled callback.
:param  seconds: The time in seconds to wait before executing.
:param callback: A pointer to the function to execute.
:param args: A tuple of arguments to pass to the function.
:param kwargs: A dictionary of keyword arguments to pass to
the function.
:param repeat: Flag indicating if the scheduled event should
be reset and repeat after executing.'

def schedule(self, name, seconds, callback, args=None, kwargs=None, repeat=False):

    self.scheduler.add(name, seconds, callback, args, kwargs, repeat, qpointer=self.event_queue)
