def __init__(self, master, tk, description, displayable):
super(Component, self).__init__(tk)<EOL>self._master = master<EOL>self._description = description<EOL>self._events = EventManager(self, tk)<EOL>self._displayable = displayable<EOL>if self.master is not None:<EOL><INDENT>if isinstance(master, Container):<EOL><INDENT>self.master._add_child(self)<EOL><DEDENT>else:<EOL><INDENT>utils.raise_error("<STR_LIT>".format(description))<EOL><DEDENT><DEDENT>
An abstract class for a component in guizero.