def poll_events(self):
if not self._callback_event:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>return self._callback_event.pop()<EOL>
Poll for any registered events or window create events

@return: window name
@rtype: string