In order to separate the GUI widgets from the functionality that expresses the business logic, we created a class, made a queue a member of this class, and by passing an instance of the class into a function residing in a different Python module, we now have access to all the GUI widgets as well as the queue.
This recipe is an example of when it makes sense to program in OOP.