def process_event(self, module_name, event, default_event=False):
<EOL>module_info = self.output_modules.get(module_name)<EOL>if module_info["<STR_LIT:type>"] == "<STR_LIT>":<EOL><INDENT>module = module_info["<STR_LIT>"]<EOL>module.click_event(event)<EOL>if self.config["<STR_LIT>"]:<EOL><INDENT>self.py3_wrapper.log("<STR_LIT>".format(event))<EOL><DEDENT>if not module.prevent_refresh:<EOL><INDENT>self.py3_wrapper.refresh_modules(module_name)<EOL>default_event = False<EOL><DEDENT><DEDENT>if default_event:<EOL><INDENT>if self.config["<STR_LIT>"]:<EOL><INDENT>self.py3_wrapper.log("<STR_LIT>".format(event))<EOL><DEDENT>self.py3_wrapper.refresh_modules(module_name)<EOL><DEDENT>module_groups = self.py3_config["<STR_LIT>"]<EOL>containers = module_groups.get(module_name, [])<EOL>for container in containers:<EOL><INDENT>self.process_event(container, event)<EOL><DEDENT>
Process the event for the named module.
Events may have been declared in i3status.conf, modules may have
on_click() functions. There is a default middle click event etc.