Struct quickmd::ui::App [−][src]
pub struct App { /* fields omitted */ }
Expand description
The container for all the GTK widgets of the app – window, webview, etc. All of these are reference-counted, so should be cheap to clone.
Implementations
Construct a new app. Input params:
- input_file: Used as the window title and for other actions on the file.
- assets: Encapsulates the HTML layout that will be wrapping the rendered markdown.
Initialization could fail due to a WebContext
failure.
Start listening to events from the ui_receiver
and trigger the relevant methods on the
App
. Doesn’t block.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for App
impl UnwindSafe for App
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V