8 breaking releases
0.9.0 | Mar 27, 2024 |
---|---|
0.7.0 | Feb 7, 2024 |
0.5.0 | Nov 28, 2023 |
0.3.0 | Jun 11, 2023 |
0.1.0 | Nov 3, 2022 |
#343 in Text processing
846 downloads per month
Used in 4 crates
(2 directly)
25KB
116 lines
egui-dropdown
Dropdown list for egui.
Installation
[dependencies]
egui-dropdown = "0.2"
Usage
// 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)
));
Naming
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.
lib.rs
:
egui-dropdown
Dependencies
~4–11MB
~78K SLoC