shyft.dashboard.widgets.message_viewer¶
Classes
|
Simple Message Viewer using a Div in the browser |
- class shyft.dashboard.widgets.message_viewer.MessageViewer(title='Notification:', rows=10, width=300, height=200, title_hight=20, sizing_mode=None, show_time=True, time_zone='Europe/Oslo', logger=None)[source]¶
Bases:
objectSimple Message Viewer using a Div in the browser
- Parameters:
title (str) – 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 (str | None) – sizing mode of the divs
show_time (bool)
time_zone (str)
logger (LoggerBox | None)
- __init__(title='Notification:', rows=10, width=300, height=200, title_hight=20, sizing_mode=None, show_time=True, time_zone='Europe/Oslo', logger=None)[source]¶
Simple Message Viewer using a Div in the browser
- Parameters:
title (str) – 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 (str | None) – sizing mode of the divs
show_time (bool)
time_zone (str)
logger (LoggerBox | None)