Function relm::create_container
[−]
[src]
pub fn create_container<CHILDWIDGET, WIDGET>(
relm: &Relm<WIDGET>,
model_param: CHILDWIDGET::ModelParam
) -> ContainerComponent<CHILDWIDGET> where
CHILDWIDGET: Container + Widget + 'static,
CHILDWIDGET::Msg: DisplayVariant + 'static,
WIDGET: Widget,
Create a new relm container widget without adding it to an existing widget. This is useful when a relm widget is at the root of another relm widget.