euporie.console.tabs.console.FloatContainer

class euporie.console.tabs.console.FloatContainer(content: AnyContainer, floats: list[Float], modal: bool = False, key_bindings: KeyBindingsBase | None = None, style: str | Callable[[], str] = '', z_index: int | None = None)

Container which can contain another container for the background, as well as a list of floating containers on top of it.

Example Usage:

FloatContainer(content=Window(...),
               floats=[
                   Float(xcursor=True,
                        ycursor=True,
                        content=CompletionsMenu(...))
               ])
Parameters:

z_index – (int or None) When specified, this can be used to bring element in front of floating elements. None means: inherit from parent. This is the z_index for the whole Float container as a whole.