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

#269 in Text processing

Download history 52/week @ 2024-01-19 30/week @ 2024-01-26 32/week @ 2024-02-02 109/week @ 2024-02-09 66/week @ 2024-02-16 94/week @ 2024-02-23 32/week @ 2024-03-01 88/week @ 2024-03-08 225/week @ 2024-03-15 132/week @ 2024-03-22 87/week @ 2024-03-29 50/week @ 2024-04-05 77/week @ 2024-04-12 896/week @ 2024-04-19 613/week @ 2024-04-26 771/week @ 2024-05-03

2,370 downloads per month
Used in 14 crates (2 directly)

MIT license

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.5–10MB
~80K SLoC