Function gooey::main

source · []
pub fn main<W: Widget>(initial_window: WindowBuilder<W>, context: AppContext)
Expand description

Runs a Kludgine-based App with the root widget from initializer. All widgets from gooey::widget will be usable. If you wish to use other widgets, use browser_main_with and provide the transmogrifiers for the widgets you wish to use.