Crate brisk_egui

Crate brisk_egui 

Source
Expand description

stable pipeline dev/1 pipeline docs crates.io

§brisk-egui

brisk-egui provides integration with egui.

§Example

The following creates a function hello_world_panel(ctx: &egui::Context, title: &str) that can be used with egui to build a user interface.

brisk_it! {
    PanelComponent
    {
        name: hello_world_panel,
        parameters: params!(title: &str),
        CentralPanel
        {
            Heading
            {
                text: title,
            },
        }
    }
}

More examples are available in the examples folder.

Macros§

brisk_it
This macro is used to transform a brisk declarative representation into an egui component. Look at examples for usage.