shyft.dashboard.widgets.message_viewer
Classes
|
- class shyft.dashboard.widgets.message_viewer.MessageViewer(title: str = 'Notification:', rows=10, width=300, height=200, title_hight=20, sizing_mode: str | None = None, show_time: bool = True, time_zone: str = 'Europe/Oslo', logger: LoggerBox | None = None)[source]
Bases:
object
- __init__(title: str = 'Notification:', rows=10, width=300, height=200, title_hight=20, sizing_mode: str | None = None, show_time: bool = True, time_zone: str = 'Europe/Oslo', logger: LoggerBox | None = None)[source]
Simple Message Viewer using a Div in the browser
- Parameters:
title – Title of the MSG box default er Notification:
rows – number of msg rows which should be shown
width – width of the msg div
height – height of the msg div, this will be influenced by rows.
title_hight – heigth of the title div default is 20
sizing_mode – sizing mode of the divs