def _create_layout(self):
waits_for_confirmation = WaitsForConfirmation(self.pymux)<EOL>return FloatContainer(<EOL>content=HSplit([<EOL>FloatContainer(<EOL>Background(),<EOL>floats=[<EOL>Float(width=lambda: self.pymux.get_window_size().columns,<EOL>height=lambda: self.pymux.get_window_size().rows,<EOL>content=DynamicBody(self.pymux))<EOL>]),<EOL>ConditionalContainer(<EOL>content=VSplit([<EOL>Window(<EOL>height=<NUM_LIT:1>,<EOL>width=(lambda: D(max=self.pymux.status_left_length)),<EOL>dont_extend_width=True,<EOL>content=FormattedTextControl(self._get_status_left_tokens)),<EOL>Window(<EOL>height=<NUM_LIT:1>,<EOL>char='<STR_LIT:U+0020>',<EOL>align=self._get_align,<EOL>content=FormattedTextControl(self._get_status_tokens)),<EOL>Window(<EOL>height=<NUM_LIT:1>,<EOL>width=(lambda: D(max=self.pymux.status_right_length)),<EOL>dont_extend_width=True,<EOL>align=WindowAlign.RIGHT,<EOL>content=FormattedTextControl(self._get_status_right_tokens))<EOL>], z_index=Z_INDEX.STATUS_BAR, style='<STR_LIT>'),<EOL>filter=Condition(lambda: self.pymux.enable_status),<EOL>)<EOL>]),<EOL>floats=[<EOL>Float(bottom=<NUM_LIT:1>, left=<NUM_LIT:0>, z_index=Z_INDEX.MESSAGE_TOOLBAR,<EOL>content=MessageToolbar(self.client_state)),<EOL>Float(left=<NUM_LIT:0>, right=<NUM_LIT:0>, bottom=<NUM_LIT:0>, content=HSplit([<EOL>ConditionalContainer(<EOL>content=Window(<EOL>height=<NUM_LIT:1>,<EOL>content=ConfirmationToolbar(self.pymux, self.client_state),<EOL>z_index=Z_INDEX.COMMAND_LINE,<EOL>),<EOL>filter=waits_for_confirmation,<EOL>),<EOL>ConditionalContainer(<EOL>content=Window(<EOL>height=D(min=<NUM_LIT:1>),  <EOL>style='<STR_LIT>',<EOL>dont_extend_height=True,<EOL>content=BufferControl(<EOL>buffer=self.client_state.command_buffer,<EOL>preview_search=True,<EOL>input_processors=[<EOL>AppendAutoSuggestion(),<EOL>BeforeInput('<STR_LIT::>', style='<STR_LIT>'),<EOL>ShowArg(),<EOL>HighlightSelectionProcessor(),<EOL>]),<EOL>z_index=Z_INDEX.COMMAND_LINE,<EOL>),<EOL>filter=has_focus(self.client_state.command_buffer),<EOL>),<EOL>ConditionalContainer(<EOL>content=Window(<EOL>height=<NUM_LIT:1>,<EOL>style='<STR_LIT>',<EOL>content=BufferControl(<EOL>buffer=self.client_state.prompt_buffer,<EOL>input_processors=[<EOL>BeforeInput(self._before_prompt_command_tokens),<EOL>AppendAutoSuggestion(),<EOL>HighlightSelectionProcessor(),<EOL>]),<EOL>z_index=Z_INDEX.COMMAND_LINE,<EOL>),<EOL>filter=has_focus(self.client_state.prompt_buffer),<EOL>),<EOL>])),<EOL>Float(<EOL>content=ConditionalContainer(<EOL>content=self.popup_dialog,<EOL>filter=Condition(lambda: self.client_state.display_popup),<EOL>),<EOL>left=<NUM_LIT:3>, right=<NUM_LIT:3>, top=<NUM_LIT:5>, bottom=<NUM_LIT:5>,<EOL>z_index=Z_INDEX.POPUP,<EOL>),<EOL>Float(xcursor=True, ycursor=True, content=CompletionsMenu(max_height=<NUM_LIT:12>)),<EOL>]<EOL>)<EOL>
Generate the main prompt_toolkit layout.