Function gooey::browser_main[][src]

pub fn browser_main<W: Widget + Send + Sync>(
    initial_window: WindowBuilder<W>,
    context: AppContext
)
Expand description

Runs a browser-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.