To simplify the process of developing Web UI, Bootwrap uses the predefined layout which consists of two elements
Page
and
Menu
.
Note: if your application does not require the top-level menu it can be discarded.
The container could be any element inheriting
WebComponent
class. Typically for hosting other custom interface elements is used
Panel
.
from bootwrap import Page
page = Page(
favicon=..., title=..., resources=..., menu=...,
container=...
)
The menu represents the top-level navigation bar containing anchors and actions allowing to switch between different application
Page
s.
from bootwrap import Menu
menu = Menu(
logo=..., brand=..., anchors=..., actions=...
)