Class Layout#
Defined in File Layout.h
Inheritance Relationships#
Base Type#
public Karana::WebUI::Widget(Class Widget)
Class Documentation#
-
class Layout : public Karana::WebUI::Widget#
Simple container for widgets.
Public Functions
-
Layout(Router &router, const StyleMap &style = {})#
Layout constructor.
- Parameters:
router – Used to establish the frontend connection
style – Map of camelCase css properties for the widget
Protected Functions
-
virtual void _onConnect(int client_id) override#
Called upon a client connecting.
This can be overridden to implement custom behavior.
- Parameters:
client_id – Unique id for the client.
-
Layout(Router &router, const StyleMap &style = {})#