Function relm4::main_application

source ·
pub fn main_application() -> Application
Expand description

Returns the global gtk::Application that’s used internally by RelmApp.

Retrieving this value can be useful for graceful shutdown by calling [ApplicationExt::quit()][gtk::prelude::ApplicationExt::quit] on it.

Note: The global application can be overwritten by calling RelmApp::with_app().