Crates.io | egui-dropdown |
lib.rs | egui-dropdown |
version | |
source | src |
created_at | 2022-11-03 14:26:08.824962+00 |
updated_at | 2025-02-07 13:05:15.589023+00 |
description | An actual dropdown list for egui |
homepage | |
repository | https://github.com/ItsEthra/egui-dropdown |
max_upload_size | |
id | 704271 |
Cargo.toml error: | TOML parse error at line 22, column 1 | 22 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Dropdown list for egui.
[dependencies]
egui-dropdown = "0.11"
// Working example can be found in `examples/dropdown.rs`
ui.add(DropDownBox::from_iter(
&self.items,
"test_dropbox",
&mut self.buf,
|ui, text| ui.selectable_label(false, text)
));
Although it's called DropDownBox
, technically speaking it should be called ComboBox
.
But this is what egui uses for its version of the widget so yeah.