class_docstr: Container widget that exposes a larger virtual screen to its content and
  displays it in a vertical scrollbale region.
  
  Typically this is wrapped in a large `HSplit` container. Make sure in that
  case to not specify a `height` dimension of the `HSplit`, so that it will
  scale according to the content.
  
  .. note::
  
      If you want to display a completion menu for widgets in this
      `ScrollablePane`, then it's still a good practice to use a
      `FloatContainer` with a `CompletionsMenu` in a `Float` at the top-level
      of the layout hierarchy, rather then nesting a `FloatContainer` in this
      `ScrollablePane`. (Otherwise, it's possible that the completion menu
      is clipped.)
  
  :param content: The content container.
  :param scrolloffset: Try to keep the cursor within this distance from the
      top/bottom (left/right offset is not used).
  :param keep_cursor_visible: When `True`, automatically scroll the pane so
      that the cursor (of the focused window) is always visible.
  :param keep_focused_window_visible: When `True`, automatically scroll the
      pane so that the focused window is visible, or as much visible as
      possible if it doesn't completely fit the screen.
  :param max_available_height: Always constraint the height to this amount
      for performance reasons.
  :param width: When given, use this width instead of looking at the children.
  :param height: When given, use this height instead of looking at the children.
  :param show_scrollbar: When `True` display a scrollbar on the right.
class_docstr_tok: ["Container","widget","that","exposes","a","larger","virtual","screen","to","its","content","and","displays","it","in","a","vertical","scrollbale","region",".","Typically","this","is","wrapped","in","a","large","`","HSplit","`","container",".","Make","sure","in","that","case","to","not","specify","a","`","height","`","dimension","of","the","`","HSplit","`",",","so","that","it","will","scale","according","to","the","content",".","..","note",":",":","If","you","want","to","display","a","completion","menu","for","widgets","in","this","`","ScrollablePane","`",",","then","it","'s","still","a","good","practice","to","use","a","`","FloatContainer","`","with","a","`","CompletionsMenu","`","in","a","`","Float","`","at","the","top-level","of","the","layout","hierarchy",",","rather","then","nesting","a","`","FloatContainer","`","in","this","`","ScrollablePane","`",".","(","Otherwise",",","it","'s","possible","that","the","completion","menu","is","clipped",".",")",":","param","content",":","The","content","container",".",":","param","scrolloffset",":","Try","to","keep","the","cursor","within","this","distance","from","the","top\/bottom","(","left\/right","offset","is","not","used",")",".",":","param","keep_cursor_visible",":","When","`","True","`",",","automatically","scroll","the","pane","so","that","the","cursor","(","of","the","focused","window",")","is","always","visible",".",":","param","keep_focused_window_visible",":","When","`","True","`",",","automatically","scroll","the","pane","so","that","the","focused","window","is","visible",",","or","as","much","visible","as","possible","if","it","does","n't","completely","fit","the","screen",".",":","param","max_available_height",":","Always","constraint","the","height","to","this","amount","for","performance","reasons",".",":","param","width",":","When","given",",","use","this","width","instead","of","looking","at","the","children",".",":","param","height",":","When","given",",","use","this","height","instead","of","looking","at","the","children",".",":","param","show_scrollbar",":","When","`","True","`","display","a","scrollbar","on","the","right","."]
code: def is_modal(self) -> bool:
      return self.content.is_modal()
  
imports: from __future__ import annotations
  from prompt_toolkit.data_structures import Point
  from prompt_toolkit.filters import FilterOrBool, to_filter
  from prompt_toolkit.key_binding import KeyBindingsBase
  from prompt_toolkit.mouse_events import MouseEvent
  from .containers import Container, ScrollOffsets
  from .dimension import AnyDimension, Dimension, sum_layout_dimensions, to_dimension
  from .mouse_handlers import MouseHandler, MouseHandlers
  from .screen import Char, Screen, WritePosition
label_desc: Use image node_id 11 for calling the ScrollablePane obj's underlying member method code with example usage: obj.is_modal() and returns: self