class_docstr: :param floats: List of extra Float objects to display.
  :param menu_items: List of `MenuItem` objects.
class_docstr_tok: [":","param","floats",":","List","of","extra","Float","objects","to","display",".",":","param","menu_items",":","List","of","`","MenuItem","`","objects","."]
code: def floats(self) -> list[Float] | None:
      return self.container.floats
  
imports: from __future__ import annotations
  from typing import Callable, Iterable, Sequence
  from prompt_toolkit.application.current import get_app
  from prompt_toolkit.filters import Condition
  from prompt_toolkit.formatted_text.base import OneStyleAndTextTuple, StyleAndTextTuples
  from prompt_toolkit.key_binding.key_bindings import KeyBindings, KeyBindingsBase
  from prompt_toolkit.key_binding.key_processor import KeyPressEvent
  from prompt_toolkit.keys import Keys
  from prompt_toolkit.layout.containers import AnyContainer, ConditionalContainer, Container, Float, FloatContainer, HSplit, Window
  from prompt_toolkit.layout.controls import FormattedTextControl
  from prompt_toolkit.mouse_events import MouseEvent, MouseEventType
  from prompt_toolkit.utils import get_cwidth
  from prompt_toolkit.widgets import Shadow
  from .base import Border
label_desc: Use image node_id 5 for calling the MenuContainer obj's underlying member method code with example usage: obj.floats() and returns: self