Struct mg::StatusBar[][src]

pub struct StatusBar { /* fields omitted */ }

Trait Implementations

impl Widget for StatusBar
[src]

Update the view after it is initially created. This method is only useful when using the #[widget] attribute, because when not using it, you can use the view() method instead. Read more

Create the initial view.

The type of the root widget.

Get the root widget of the view.

Method called when the widget is added to its parent.

Get the parent ID. This is useful for custom Container implementation: when you implement the Container::add_widget(), you might want to insert widgets elsewhere depending of this id. Read more

Create the window from this widget and start the main loop.

impl Container for StatusBar
[src]

The type of the containing widget, i.e. where the child widgets will be added.

Type to contain the additional container widgets.

Get the containing widget, i.e. the widget where the children will be added.

Get additional container widgets. This is useful to create a multi-container. Read more

Add a relm widget to this container. Return the widget that will be send to Widget::on_add(). Read more

impl Update for StatusBar
[src]

The type of the messages sent to the update() method.

The type of the model.

The type of the parameter of the model() function used to initialize the model.

Method called when a message is received from an event.

Create the initial model.

Connect the subscriptions. Subscriptions are Future/Stream that are spawn when the object is created. Read more

impl WidgetTest for StatusBar
[src]

Represents the structure holding all the widgets. Useful for tests.

Get the structure containing all the widgets. Useful for tests.

Auto Trait Implementations

impl !Send for StatusBar

impl !Sync for StatusBar