def inheritFromContext(self, ignore=()):
for canvas_attr, grob_attr in STATES.items():<EOL><INDENT>if canvas_attr in ignore:<EOL><INDENT>continue<EOL><DEDENT>setattr(self, grob_attr, getattr(self._bot._canvas, canvas_attr))<EOL><DEDENT>
Doesn't store exactly the same items as Nodebox for ease of implementation,
it has enough to get the Nodebox Dentrite example working.