[docs]classTitlebarButton(TypedDict):"""A link-only button that appears in the Titlebar."""text:Optional[str]icon:Optional[Literal["GitHub","Description","Keyboard"]]href:Optional[str]
[docs]classTitlebarImage(TypedDict):"""An image that appears on the titlebar."""image_url_light:strimage_url_dark:Optional[str]image_alt:strhref:Optional[str]
[docs]classTitlebarConfig(TypedDict):"""Configure the content that appears in the titlebar."""buttons:Optional[Tuple[TitlebarButton,...]]image:Optional[TitlebarImage]