Crates.io | egui-dropdown |
lib.rs | egui-dropdown |
version | 0.11.0 |
source | src |
created_at | 2022-11-03 14:26:08.824962 |
updated_at | 2024-09-26 14:39:56.39335 |
description | An actual dropdown list for egui |
homepage | |
repository | https://github.com/ItsEthra/egui-dropdown |
max_upload_size | |
id | 704271 |
size | 102,084 |
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.