"""
This type stub file was generated by pyright.
"""

from typing import TYPE_CHECKING
from streamlit.proto.IFrame_pb2 import IFrame as IFrameProto
from streamlit.delta_generator import DeltaGenerator

if TYPE_CHECKING:
    ...
class IframeMixin:
    @property
    def dg(self) -> DeltaGenerator:
        """Get our DeltaGenerator."""
        ...
    


def marshall(proto: IFrameProto, src: str | None = ..., srcdoc: str | None = ..., width: int | None = ..., height: int | None = ..., scrolling: bool = ..., tab_index: int | None = ...) -> None:
    """Marshalls data into an IFrame proto.

    These parameters correspond directly to <iframe> attributes, which are
    described in more detail at
    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe.

    Parameters
    ----------
    proto : IFrame protobuf
        The protobuf object to marshall data into.
    src : str
        The URL of the page to embed.
    srcdoc : str
        Inline HTML to embed. Overrides src.
    width : int
        The width of the frame in CSS pixels. Defaults to the app's
        default element width.
    height : int
        The height of the frame in CSS pixels. Defaults to 150.
    scrolling : bool
        If true, show a scrollbar when the content is larger than the iframe.
        Otherwise, never show a scrollbar.
    tab_index : int, optional
        Specifies the tab order of the iframe.

    """
    ...

