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.

Fields

The default container of this component.

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

Methods

impl<WIDGET: Container + Widget> ContainerComponent<WIDGET>
[src]

[src]

Add a GTK+ widget to a relm container.

[src]

Add a relm widget to a relm container.

[src]

Emit a message of the widget stream.

[src]

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

[src]

Get the widget of the component.