Struct mg::Application [] [src]

pub struct Application<T> {
    // some fields omitted
}

Create a new MG application window. This window contains a status bar where the user can type a command and a central widget.

Methods

impl<T: EnumFromStr + 'static> Application<T>
[src]

Create a new application.

Create a new application with configuration.

Create a new status bar item.

Add a callback to the command event.

Show an error to the user.

Parse a configuration file.

Set the main widget.

Set the window title.

Use the dark variant of the theme if available.

Get the application window.