build_tools.syllable_walk_tui.modules.blender.screen ==================================================== .. py:module:: build_tools.syllable_walk_tui.modules.blender.screen .. autoapi-nested-parse:: Blended walk screen modal component. This module provides the BlendedWalkScreen modal for viewing blended walk results from both patches. Classes ------- .. autoapisummary:: build_tools.syllable_walk_tui.modules.blender.screen.BlendedWalkScreen Module Contents --------------- .. py:class:: BlendedWalkScreen(name = None, id = None, classes = None) Bases: :py:obj:`textual.screen.Screen` Modal screen for viewing blended walk results. Displays generated syllable walks from both patches in a full-screen view. Provides detailed walk information and comparison. Keybindings: Esc: Close screen and return to main view j/k: Scroll through results Initialize the screen. :param name: The name of the screen. :param id: The ID of the screen in the DOM. :param classes: The CSS classes for the screen. .. py:attribute:: BINDINGS :value: [('escape', 'close_screen', 'Close')] A list of key bindings. .. py:attribute:: DEFAULT_CSS :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ BlendedWalkScreen { background: $surface; border: solid $primary; } BlendedWalkScreen Label { margin: 1; } .walk-header { text-style: bold; color: $accent; margin-top: 2; } """ .. raw:: html
Default TCSS. .. py:method:: compose() Create blended walk screen layout. .. py:method:: action_close_screen() Close this screen and return to main view.