Struct relm::ContainerComponent [] [src]

pub struct ContainerComponent<WIDGET: Container + Widget> {
    pub container: WIDGET::Container,
    pub containers: WIDGET::Containers,
    // some fields omitted

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


The default container of this component.

Additional containers used for multi-containers. This can be () if not needed.


impl<WIDGET: Container + Widget> ContainerComponent<WIDGET>


Add a GTK+ widget to a relm container.


Add a relm widget to a relm container.


Emit a message of the widget stream.


Get the event stream of the component. This is used internally by the library.


Get the widget of the component.