def get_batch(self):
return self.root.batch if self.is_attached_to_gui else None<EOL>
Return the `pyglet.graphics.Batch` object being used to render the GUI, 
or None if this widget hasn't been attached to the GUI yet.

You often need to interact with the batch when implementing 
`do_draw()`.