def add_children(self, frames, after=None):
if after is not None:<EOL><INDENT>for frame in reversed(frames):<EOL><INDENT>self.add_child(frame, after=after)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>for frame in frames:<EOL><INDENT>self.add_child(frame)<EOL><DEDENT><DEDENT>
Convenience method to add multiple frames at once.