Trait relm::RelmContainer [] [src]

pub trait RelmContainer {
    fn add<W: IsA<Widget>>(&self, widget: &W);
    fn add_widget<CHILDWIDGET, MSG>(
        &self,
        relm: &RemoteRelm<MSG>
    ) -> Component<CHILDWIDGET>
    where
        MSG: Clone + DisplayVariant,
        CHILDWIDGET: Widget + 'static,
        CHILDWIDGET::Model: Clone + Send,
        CHILDWIDGET::Msg: Send
; }

Trait for relm containers to add GTK+ and relm Widgets.

Required Methods

Add a GTK+ widget to a relm container.

Add a relm widget to a relm container.

Implementors