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

Download history 30/week @ 2024-01-01 38/week @ 2024-01-08 28/week @ 2024-01-15 54/week @ 2024-01-22 27/week @ 2024-01-29 35/week @ 2024-02-05 116/week @ 2024-02-12 78/week @ 2024-02-19 77/week @ 2024-02-26 36/week @ 2024-03-04 114/week @ 2024-03-11 216/week @ 2024-03-18 126/week @ 2024-03-25 83/week @ 2024-04-01 46/week @ 2024-04-08 587/week @ 2024-04-15

846 downloads per month
Used in 4 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–11MB
~78K SLoC