Skip to content
damus-ioPublic

About

An egui tabs view

Resources

Stars

23 stars

Watchers

1 watching

Forks

Latest commit

 

History

52 Commits

Folders and files

Repository files navigation

egui-tabs

A tab view for egui

Demo

Usage

example

Tabs::new(3).show(ui, |ui, state| {
    let ind = state.index();

    let txt = if ind == 0 {
        "Tab A"
    } else if ind == 1 {
        "Tab B"
    } else if ind == 2 {
        "Tab C"
    } else {
        ""
    };

    ui.add(egui::Label::new(txt).selectable(false));
});

About

An egui tabs view

Resources

Stars

23 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages