Static zng_wgt_layer::LAYERS_INSERT_CMD
source · pub static LAYERS_INSERT_CMD: Command
Expand description
Insert a layer widget on the scoped window.
§Params
The parameter must be a tuple with the LAYERS
service inputs:
(LayerIndex, WidgetFn<()>)
- Calls the widget function in the window context, then callsLAYERS.insert
.(LayerIndex, WidgetId, AnchorMode, WidgetFn<()>)
- Calls the widget function in the window context, then callsLAYERS.insert_anchored
.
If the parameter type does not match any of the above a debug trace is logged.